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

Unified Diff: chrome/browser/chromeos/drive/drive_feed_loader.h

Issue 11876002: Make largest_changestamp setter/getter asynchronous. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase + comment Created 7 years, 11 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/drive/drive_feed_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_feed_loader.h
===================================================================
--- chrome/browser/chromeos/drive/drive_feed_loader.h (revision 177026)
+++ chrome/browser/chromeos/drive/drive_feed_loader.h (working copy)
@@ -119,6 +119,14 @@
google_apis::GDataErrorCode status,
scoped_ptr<google_apis::AccountMetadataFeed> account_metadata);
+ // Callback for DriveResourceMetadata::GetLargestChangestamp.
+ // Compares |remote_changestamp| and |local_changestamp| and triggers
+ // LoadFromServer if necessary.
+ void CompareChangestampsAndLoadIfNeeded(
+ const FileOperationCallback& callback,
+ int64 remote_changestamp,
+ int64 local_changestamp);
+
// Callback for handling response from |DriveAPIService::GetApplicationInfo|.
// If the application list is successfully parsed, passes the list to
// Drive webapps registry.
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_feed_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698