Commit 4683ff30 authored by tfarina@chromium.org's avatar tfarina@chromium.org

content: Rename blink_glue.* to file_info_util.*.

Reason: blink_glue.* is too generic for this.

It just contains a single function to convert from base::File::Info to
blink::WebFileInfo. Similar to web_url_request_util.h and
pepper_file_util.h.

BUG=345892
TEST=None
R=avi@chromium.org

Review URL: https://codereview.chromium.org/455623002

Cr-Commit-Position: refs/heads/master@{#288399}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288399 0039d316-1c4b-4281-b951-d872f2087c98
parent 7ac632d3
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/child/blink_glue.h"
#include "content/child/file_info_util.h"
#include "base/logging.h"
#include "third_party/WebKit/public/platform/WebFileInfo.h"
......
......@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_CHILD_BLINK_GLUE_H_
#define CONTENT_CHILD_BLINK_GLUE_H_
#ifndef CONTENT_CHILD_FILE_INFO_UTIL_H_
#define CONTENT_CHILD_FILE_INFO_UTIL_H_
#include "base/files/file.h"
#include "content/common/content_export.h"
namespace blink {
struct WebFileInfo;
......@@ -15,9 +14,9 @@ struct WebFileInfo;
namespace content {
// File info conversion
CONTENT_EXPORT void FileInfoToWebFileInfo(const base::File::Info& file_info,
blink::WebFileInfo* web_file_info);
void FileInfoToWebFileInfo(const base::File::Info& file_info,
blink::WebFileInfo* web_file_info);
} // namespace content
#endif // CONTENT_CHILD_BLINK_GLUE_H_
#endif // CONTENT_CHILD_FILE_INFO_UTIL_H_
......@@ -11,8 +11,8 @@
#include "base/strings/utf_string_conversions.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread_local.h"
#include "content/child/blink_glue.h"
#include "content/child/child_thread.h"
#include "content/child/file_info_util.h"
#include "content/child/fileapi/file_system_dispatcher.h"
#include "content/child/fileapi/webfilewriter_impl.h"
#include "content/child/worker_task_runner.h"
......
......@@ -7,7 +7,7 @@
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "content/child/blink_glue.h"
#include "content/child/file_info_util.h"
#include "net/base/file_stream.h"
#include "net/base/filename_util.h"
#include "third_party/WebKit/public/platform/WebFileInfo.h"
......
......@@ -36,8 +36,6 @@
'child/appcache/web_application_cache_host_impl.cc',
'child/appcache/web_application_cache_host_impl.h',
'child/assert_matching_enums.cc',
'child/blink_glue.cc',
'child/blink_glue.h',
'child/blink_platform_impl.cc',
'child/blink_platform_impl.h',
'child/browser_font_resource_trusted.cc',
......@@ -60,6 +58,8 @@
'child/database_util.h',
'child/db_message_filter.cc',
'child/db_message_filter.h',
'child/file_info_util.cc',
'child/file_info_util.h',
'child/fileapi/file_system_dispatcher.cc',
'child/fileapi/file_system_dispatcher.h',
'child/fileapi/webfilesystem_impl.cc',
......
......@@ -14,8 +14,8 @@
#include "base/numerics/safe_conversions.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "content/child/blink_glue.h"
#include "content/child/database_util.h"
#include "content/child/file_info_util.h"
#include "content/child/fileapi/webfilesystem_impl.h"
#include "content/child/indexed_db/webidbfactory_impl.h"
#include "content/child/npapi/npobject_util.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment