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

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

Issue 11421125: Implement polling part of DriveFileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
Index: chrome/browser/sync_file_system/remote_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/remote_file_sync_service.h b/chrome/browser/sync_file_system/remote_file_sync_service.h
index 7b2cdede8404cf712af996215a65a4fdaebd94c7..c02c59c45111eaaa0c63e56496e071d81bb2b75a 100644
--- a/chrome/browser/sync_file_system/remote_file_sync_service.h
+++ b/chrome/browser/sync_file_system/remote_file_sync_service.h
@@ -58,11 +58,12 @@ class RemoteFileSyncService {
Observer() {}
virtual ~Observer() {}
- // This is called when there're one or more remote changes available.
+ // This is called when RemoteFileSyncService updates its internal queue
+ // of pending remote changes.
// |pending_changes_hint| indicates the pending queue length to help sync
// scheduling but the value may not be accurately reflect the real-time
// value.
- virtual void OnRemoteChangeAvailable(int64 pending_changes_hint) = 0;
+ virtual void OnRemoteChangeQueueUpdated(int64 pending_changes_hint) = 0;
// This is called when RemoteFileSyncService updates its state.
virtual void OnRemoteServiceStateUpdated(

Powered by Google App Engine
This is Rietveld 408576698