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

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

Issue 10855034: Drive: Remove gdata_params.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review (#16) fix & rebase 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_wapi_feed_loader.h
diff --git a/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h b/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h
index 2b968572a86cd4c80b12f810a93c8d0542057184..0e739d9fa71043f5bd9ad52405c01293192722a8 100644
--- a/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h
+++ b/chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h
@@ -48,6 +48,24 @@ struct GetDocumentsParams {
scoped_ptr<GetDocumentsUiState> ui_state;
};
+// Defines set of parameters sent to callback OnProtoLoaded().
+struct LoadRootFeedParams {
+ LoadRootFeedParams(
+ FilePath search_file_path,
+ bool should_load_from_server,
+ const FindEntryCallback& callback);
+ ~LoadRootFeedParams();
+
+ FilePath search_file_path;
+ bool should_load_from_server;
+ std::string proto;
+ GDataFileError load_error;
+ base::Time last_modified;
+ // Time when filesystem began to be loaded from disk.
+ base::Time load_start_time;
+ const FindEntryCallback callback;
+};
+
// Callback run as a response to LoadFromServer.
typedef base::Callback<void(GetDocumentsParams* params,
GDataFileError error)>
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_uploader.h ('k') | chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698