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

Unified Diff: chrome/browser/chromeos/gdata/gdata_download_observer.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_download_observer.h
diff --git a/chrome/browser/chromeos/gdata/gdata_download_observer.h b/chrome/browser/chromeos/gdata/gdata_download_observer.h
index 8e13b0e14b2569309d1c1ef83c6a3ed275b8f536..ece654dbc4f075fb9b631b36647ab76e22617c89 100644
--- a/chrome/browser/chromeos/gdata/gdata_download_observer.h
+++ b/chrome/browser/chromeos/gdata/gdata_download_observer.h
@@ -19,7 +19,7 @@ class Profile;
namespace gdata {
class DocumentEntry;
-class GDataDirectoryProto;
+class GDataEntryProto;
class GDataFileSystemInterface;
class GDataUploader;
struct UploadFileInfo;
@@ -113,16 +113,15 @@ class GDataDownloadObserver : public content::DownloadManager::Observer,
// Creates UploadFileInfo and initializes it using DownloadItem*.
void CreateUploadFileInfo(content::DownloadItem* download);
- // Callback for handling results of GDataFileSystem::ReadDirectoryByPath()
+ // Callback for handling results of GDataFileSystem::GetEntryInfoByPath()
// initiated by CreateUploadFileInfo(). This callback reads the directory
// entry to determine the upload path, then calls StartUpload() to actually
// start the upload.
- void OnReadDirectoryByPath(
+ void OnGetEntryInfoByPath(
int32 download_id,
scoped_ptr<UploadFileInfo> upload_file_info,
GDataFileError error,
- bool /* hide_hosted_documents */,
- scoped_ptr<GDataDirectoryProto> dir_proto);
+ scoped_ptr<GDataEntryProto> entry_proto);
// Starts the upload.
void StartUpload(int32 download_id,

Powered by Google App Engine
This is Rietveld 408576698