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

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

Issue 10837148: gdata: Add GetEntryInfoByPath() and ReadDirectoryByPath() to GDataDirectoryService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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 e75d561a2aa5090973f860b1349f1aae2bd8fa3d..5aec0b1c7648df1437d0005c3e41e5cb230e7688 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_interface.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_interface.h
@@ -41,7 +41,7 @@ typedef base::Callback<void(GDataFileError error,
GDataFileType file_type)> GetFileCallback;
// Used to get entry info from the file system, with the gdata file path.
-// If |error| is not PLATFORM_FILE_OK, |file_info| is set to NULL.
+// If |error| is not GDATA_FILE_OK, |file_info| is set to NULL.
//
// |gdata_file_path| parameter is provided as GDataEntryProto does not contain
// the gdata file path (i.e. only contains the base name without parent
@@ -51,22 +51,8 @@ typedef base::Callback<void(GDataFileError error,
scoped_ptr<GDataEntryProto> file_proto)>
GetEntryInfoWithFilePathCallback;
-// Used to get entry info from the file system.
-// If |error| is not PLATFORM_FILE_OK, |entry_info| is set to NULL.
-typedef base::Callback<void(GDataFileError error,
- scoped_ptr<GDataEntryProto> entry_proto)>
- GetEntryInfoCallback;
-
-// Used to read a directory from the file system.
-// If |error| is not PLATFORM_FILE_OK, |entries| is set to NULL.
-// |entries| are contents, both files and directories, of the directory.
-typedef std::vector<GDataEntryProto> GDataEntryProtoVector;
-typedef base::Callback<void(GDataFileError error,
- scoped_ptr<GDataEntryProtoVector> entries)>
- ReadDirectoryCallback;
-
// Used to get drive content search results.
-// If |error| is not PLATFORM_FILE_OK, |result_paths| is empty.
+// If |error| is not GDATA_FILE_OK, |result_paths| is empty.
typedef base::Callback<void(
GDataFileError error,
const GURL& next_feed,

Powered by Google App Engine
This is Rietveld 408576698