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

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

Issue 11421125: Implement polling part of DriveFileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/NotifyRemoteChangeAvailable/NotifyRemoteChangeQueueUpdated/ 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/mock_remote_file_sync_service.cc
diff --git a/chrome/browser/sync_file_system/mock_remote_file_sync_service.cc b/chrome/browser/sync_file_system/mock_remote_file_sync_service.cc
index c577d896d545d3eae39c8a5880c3087793ef1750..c82e4159cd5fe17938d67b00fb3ff2f2b55e4355 100644
--- a/chrome/browser/sync_file_system/mock_remote_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/mock_remote_file_sync_service.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h"
+#include <string>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/message_loop_proxy.h"
@@ -45,10 +47,10 @@ MockRemoteFileSyncService::MockRemoteFileSyncService() {
MockRemoteFileSyncService::~MockRemoteFileSyncService() {
}
-void MockRemoteFileSyncService::NotifyRemoteChangeAvailable(
+void MockRemoteFileSyncService::NotifyRemoteChangeQueueUpdated(
int64 pending_changes) {
FOR_EACH_OBSERVER(Observer, observers_,
- OnRemoteChangeAvailable(pending_changes));
+ OnRemoteChangeQueueUpdated(pending_changes));
}
void MockRemoteFileSyncService::NotifyRemoteServiceStateUpdated(

Powered by Google App Engine
This is Rietveld 408576698