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

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: Fix reviews (#12) and 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 f1f3d0558b12176c4e43a05106ab433ef930a25a..3fde6534409ee5af1670285ab179d8e2dbf4306c 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)>

Powered by Google App Engine
This is Rietveld 408576698