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

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

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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
Index: content/child/fileapi/file_system_dispatcher.h
diff --git a/content/child/fileapi/file_system_dispatcher.h b/content/child/fileapi/file_system_dispatcher.h
index b3d427f94f86a494b185e53313fc92fc1a72af12..6d098b6fd30dd86e48a1cc0a79c0a636544821be 100644
--- a/content/child/fileapi/file_system_dispatcher.h
+++ b/content/child/fileapi/file_system_dispatcher.h
@@ -19,7 +19,6 @@
namespace base {
class FilePath;
-struct PlatformFileInfo;
}
namespace fileapi {
@@ -36,11 +35,11 @@ namespace content {
// per child process. Messages are dispatched on the main child thread.
class FileSystemDispatcher : public IPC::Listener {
public:
- typedef base::Callback<void(base::PlatformFileError error)> StatusCallback;
+ typedef base::Callback<void(base::File::Error error)> StatusCallback;
typedef base::Callback<void(
- const base::PlatformFileInfo& file_info)> MetadataCallback;
+ const base::File::Info& file_info)> MetadataCallback;
typedef base::Callback<void(
- const base::PlatformFileInfo& file_info,
+ const base::File::Info& file_info,
const base::FilePath& platform_path,
int request_id)> CreateSnapshotFileCallback;
typedef base::Callback<void(
@@ -139,14 +138,14 @@ class FileSystemDispatcher : public IPC::Listener {
bool is_directory);
void OnDidSucceed(int request_id);
void OnDidReadMetadata(int request_id,
- const base::PlatformFileInfo& file_info);
+ const base::File::Info& file_info);
void OnDidCreateSnapshotFile(int request_id,
- const base::PlatformFileInfo& file_info,
+ const base::File::Info& file_info,
const base::FilePath& platform_path);
void OnDidReadDirectory(int request_id,
const std::vector<fileapi::DirectoryEntry>& entries,
bool has_more);
- void OnDidFail(int request_id, base::PlatformFileError error_code);
+ void OnDidFail(int request_id, base::File::Error error_code);
void OnDidWrite(int request_id, int64 bytes, bool complete);
void OnDidOpenFile(
int request_id,
« no previous file with comments | « content/browser/renderer_host/pepper/quota_reservation_unittest.cc ('k') | content/child/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698