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

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

Issue 10824303: gdata: Remove FindEntryByPathAndRunSync() from GDataWapiFeedLoader. (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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_file_system.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h
index b6124c30b817961a1ce0989c91f173f238e685c3..26d447b7aa50e5b2b6d60f711c0bf20a87c812df 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -556,14 +556,14 @@ class GDataFileSystem : public GDataFileSystemInterface,
// reloaded, and in case of failure, restores the content origin of the root
// directory.
void OnUpdateChecked(ContentOrigin initial_origin,
- GDataFileError error,
- GDataEntry* entry);
+ GDataFileError error);
- // Runs the callback and notifies that the initial load is finished.
+ // Finds the entry for |search_file_path| synchronously and runs the
+ // callback, then notifies that the initial load is finished.
// |callback| must not be null.
- void RunAndNotifyInitialLoadFinished(const FindEntryCallback& callback,
- GDataFileError error,
- GDataEntry* entry);
+ void FindAndNotifyInitialLoadFinished(const FilePath& search_file_path,
+ const FindEntryCallback& callback,
+ GDataFileError error);
// Helper function that completes bookkeeping tasks related to
// completed file transfer.
@@ -739,7 +739,8 @@ class GDataFileSystem : public GDataFileSystemInterface,
const FilePath& file_path,
const ReadDirectoryWithSettingCallback& callback);
void RequestDirectoryRefreshOnUIThread(const FilePath& file_path);
- void OnRequestDirectoryRefresh(GetDocumentsParams* params,
+ void OnRequestDirectoryRefresh(const FilePath& directory_path,
+ GetDocumentsParams* params,
GDataFileError error);
void GetAvailableSpaceOnUIThread(const GetAvailableSpaceCallback& callback);
void AddUploadedFileOnUIThread(UploadMode upload_mode,
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698