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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_service.cc

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/sync_file_system_service.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service.cc b/chrome/browser/sync_file_system/sync_file_system_service.cc
index 63f17b8e45de5122f4ffe9eb059b85f3027802f5..564e595a447291d9bb69f60f91cf093aaed7e05a 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service.cc
@@ -447,10 +447,10 @@ void SyncFileSystemService::OnLocalChangeAvailable(int64 pending_changes) {
AsWeakPtr()));
}
-void SyncFileSystemService::OnRemoteChangeAvailable(int64 pending_changes) {
+void SyncFileSystemService::OnRemoteChangeQueueUpdated(int64 pending_changes) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK_GE(pending_changes, 0);
- DVLOG(1) << "OnRemoteChangeAvailable: " << pending_changes;
+ DVLOG(1) << "OnRemoteChangeQueueUpdated: " << pending_changes;
pending_remote_changes_ = pending_changes;
if (pending_changes > 0) {
// The smallest change available might have changed from the previous one.

Powered by Google App Engine
This is Rietveld 408576698