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

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

Issue 10815008: gdata: Make GDataFileSystem::ReadDirectoryByPath() much more efficient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove a blank line Created 8 years, 5 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 f7012b2b914c9bf1c5aaa35347e7d690a67707b9..7b01766cff3d19802af058680991f88577a31d68 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_interface.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_interface.h
@@ -62,10 +62,12 @@ typedef base::Callback<void(GDataFileError error,
GetEntryInfoCallback;
// Used to read a directory from the file system.
-// If |error| is not PLATFORM_FILE_OK, |directory_info| is set to NULL.
+// 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,
bool hide_hosted_documents,
- scoped_ptr<GDataDirectoryProto> directory_proto)>
+ scoped_ptr<GDataEntryProtoVector> entries)>
ReadDirectoryCallback;
// Used to get drive content search results.

Powered by Google App Engine
This is Rietveld 408576698