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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_interface.h

Issue 10877006: Rename GDataErrorCode to DriveErrorCode, GDataFileError to DriveFileError (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor local variable name fix. Created 8 years, 4 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/gdata/gdata_file_system_interface.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_interface.h b/chrome/browser/chromeos/gdata/gdata_file_system_interface.h
index 190a24dafce4bd3b731b6fc3c1360e2aa5717397..a2dfa80b7f5dfcdd8f007082d919677f1531548e 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_interface.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_interface.h
@@ -35,7 +35,7 @@ struct SearchResultInfo {
};
// Used to get files from the file system.
-typedef base::Callback<void(GDataFileError error,
+typedef base::Callback<void(DriveFileError error,
const FilePath& file_path,
const std::string& mime_type,
DriveFileType file_type)> GetFileCallback;
@@ -43,27 +43,27 @@ typedef base::Callback<void(GDataFileError error,
// Used to read a directory from the file system.
// Similar to ReadDirectoryCallback but this one provides
// |hide_hosted_documents|
-// If |error| is not GDATA_FILE_OK, |entries| is set to NULL.
+// If |error| is not DRIVE_FILE_OK, |entries| is set to NULL.
// |entries| are contents, both files and directories, of the directory.
-typedef base::Callback<void(GDataFileError error,
+typedef base::Callback<void(DriveFileError error,
bool hide_hosted_documents,
scoped_ptr<DriveEntryProtoVector> entries)>
ReadDirectoryWithSettingCallback;
// Used to get drive content search results.
-// If |error| is not GDATA_FILE_OK, |result_paths| is empty.
+// If |error| is not DRIVE_FILE_OK, |result_paths| is empty.
typedef base::Callback<void(
- GDataFileError error,
+ DriveFileError error,
const GURL& next_feed,
scoped_ptr<std::vector<SearchResultInfo> > result_paths)> SearchCallback;
// Used to open files from the file system. |file_path| is the path on the local
// file system for the opened file.
-typedef base::Callback<void(GDataFileError error,
+typedef base::Callback<void(DriveFileError error,
const FilePath& file_path)> OpenFileCallback;
// Used to get available space for the account from GData.
-typedef base::Callback<void(GDataFileError error,
+typedef base::Callback<void(DriveFileError error,
int64 bytes_total,
int64 bytes_used)> GetAvailableSpaceCallback;
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698