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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 10916131: [Invalidations] Add GetInvalidatorState() to Invalidator{,Frontend} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android Created 8 years, 3 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 | « chrome/browser/sync/test_profile_sync_service.h ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index a4efa924fbbd0d4ce2d91fda70ab85d660c79d15..c27241769e0e0b66b4e260b4e5441a989b8aa182 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -146,19 +146,15 @@ void SyncBackendHostForProfileSyncTest::SetInitialSyncEndedForAllTypes() {
}
}
-void SyncBackendHostForProfileSyncTest::EmitOnNotificationsEnabled() {
- frontend()->OnNotificationsEnabled();
+void SyncBackendHostForProfileSyncTest::EmitOnInvalidatorStateChange(
+ syncer::InvalidatorState state) {
+ frontend()->OnInvalidatorStateChange(state);
}
-void SyncBackendHostForProfileSyncTest::EmitOnNotificationsDisabled(
- syncer::NotificationsDisabledReason reason) {
- frontend()->OnNotificationsDisabled(reason);
-}
-
-void SyncBackendHostForProfileSyncTest::EmitOnIncomingNotification(
+void SyncBackendHostForProfileSyncTest::EmitOnIncomingInvalidation(
const syncer::ObjectIdStateMap& id_state_map,
- const syncer::IncomingNotificationSource source) {
- frontend()->OnIncomingNotification(id_state_map, source);
+ const syncer::IncomingInvalidationSource source) {
+ frontend()->OnIncomingInvalidation(id_state_map, source);
}
} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.h ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698