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

Unified Diff: chrome/browser/chromeos/drive/fileapi_worker.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: chrome/browser/chromeos/drive/fileapi_worker.h
diff --git a/chrome/browser/chromeos/drive/fileapi_worker.h b/chrome/browser/chromeos/drive/fileapi_worker.h
index b45250a46f5a12004b9ac6f2a73667ba00ef9b5b..da400e11632b982198bdefd929fb65caf39bea03 100644
--- a/chrome/browser/chromeos/drive/fileapi_worker.h
+++ b/chrome/browser/chromeos/drive/fileapi_worker.h
@@ -45,27 +45,27 @@ namespace fileapi_internal {
typedef base::Callback<FileSystemInterface*()> FileSystemGetter;
typedef base::Callback<
- void(base::PlatformFileError result)> StatusCallback;
+ void(base::File::Error result)> StatusCallback;
typedef base::Callback<
- void(base::PlatformFileError result,
- const base::PlatformFileInfo& file_info)> GetFileInfoCallback;
+ void(base::File::Error result,
+ const base::File::Info& file_info)> GetFileInfoCallback;
typedef base::Callback<
- void(base::PlatformFileError result,
+ void(base::File::Error result,
const std::vector<fileapi::DirectoryEntry>& file_list,
bool has_more)> ReadDirectoryCallback;
typedef base::Callback<
- void(base::PlatformFileError result,
- const base::PlatformFileInfo& file_info,
+ void(base::File::Error result,
+ const base::File::Info& file_info,
const base::FilePath& snapshot_file_path,
webkit_blob::ScopedFile::ScopeOutPolicy scope_out_policy)>
CreateSnapshotFileCallback;
typedef base::Callback<
- void(base::PlatformFileError result,
+ void(base::File::Error result,
const base::FilePath& snapshot_file_path,
const base::Closure& close_callback)>
CreateWritableSnapshotFileCallback;
typedef base::Callback<
- void(base::PlatformFileError result,
+ void(base::File::Error result,
base::PlatformFile platform_file,
const base::Closure& close_callback)> OpenFileCallback;
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/download_operation.cc ('k') | chrome/browser/chromeos/drive/fileapi_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698