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

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_service.h

Issue 11416339: Sync FileSystem: Update polling delay when remote change-list did not update change_queue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years 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/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.h b/chrome/browser/sync_file_system/drive_file_sync_service.h
index ad215642b19a2b9efe977d242b5166551f32c430..e372a9f4d458a7f19ed2f3f813a0906b448f738f 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_service.h
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.h
@@ -280,7 +280,8 @@ class DriveFileSyncService
scoped_ptr<ProcessRemoteChangeParam> param,
fileapi::SyncStatusCode status);
- void AppendNewRemoteChange(const GURL& origin,
+ // Returns true if |pending_changes_| was updated.
+ bool AppendNewRemoteChange(const GURL& origin,
const google_apis::DocumentEntry& entry,
int64 changestamp,
RemoteSyncType sync_type);
@@ -301,6 +302,7 @@ class DriveFileSyncService
void FetchChangesForIncrementalSync();
void DidFetchChangesForIncrementalSync(
scoped_ptr<TaskToken> token,
+ bool has_new_changes,
google_apis::GDataErrorCode error,
scoped_ptr<google_apis::DocumentFeed> changes);
bool GetOriginForEntry(const google_apis::DocumentEntry& entry, GURL* origin);
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698