Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Unified Diff: content/common/fileapi/file_system_dispatcher.h

Issue 14671020: FileAPI: Copy base::FileUtilProxy::Entry to fileapi::DirectoryEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build and remove base/ change Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/fileapi/fileapi_message_filter.cc ('k') | content/common/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/fileapi/file_system_dispatcher.h
diff --git a/content/common/fileapi/file_system_dispatcher.h b/content/common/fileapi/file_system_dispatcher.h
index 4d01c6ec7887f5814ba65d4337d864bde7762392..a1a7d2d12feaf0f93aebf74c90b41489efc22aef 100644
--- a/content/common/fileapi/file_system_dispatcher.h
+++ b/content/common/fileapi/file_system_dispatcher.h
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/callback_forward.h"
-#include "base/files/file_util_proxy.h"
#include "base/id_map.h"
#include "base/process.h"
#include "ipc/ipc_listener.h"
@@ -23,6 +22,10 @@ class FilePath;
struct PlatformFileInfo;
}
+namespace fileapi {
+struct DirectoryEntry;
+}
+
class GURL;
namespace content {
@@ -38,7 +41,7 @@ class FileSystemDispatcher : public IPC::Listener {
const base::FilePath& platform_path)> MetadataCallback;
typedef MetadataCallback CreateSnapshotFileCallback;
typedef base::Callback<void(
- const std::vector<base::FileUtilProxy::Entry>& entries,
+ const std::vector<fileapi::DirectoryEntry>& entries,
bool has_more)> ReadDirectoryCallback;
typedef base::Callback<void(
const std::string& name,
@@ -134,10 +137,9 @@ class FileSystemDispatcher : public IPC::Listener {
void OnDidCreateSnapshotFile(int request_id,
const base::PlatformFileInfo& file_info,
const base::FilePath& platform_path);
- void OnDidReadDirectory(
- int request_id,
- const std::vector<base::FileUtilProxy::Entry>& entries,
- bool has_more);
+ void OnDidReadDirectory(int request_id,
+ const std::vector<fileapi::DirectoryEntry>& entries,
+ bool has_more);
void OnDidFail(int request_id, base::PlatformFileError error_code);
void OnDidWrite(int request_id, int64 bytes, bool complete);
void OnDidOpenFile(
« no previous file with comments | « content/browser/fileapi/fileapi_message_filter.cc ('k') | content/common/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698