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

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: 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.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h
index 4ed5d121df21b3d70a76c7043726a915c0f03743..48bc1bc76862d8299d150793550c75b24f91ef82 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -538,14 +538,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.
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698