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

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

Issue 10805002: [Sync] Enable adding notifier observers from ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head, address comments Created 8 years, 5 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
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 8eb7365c43167193e29eb8eb95a8c8a83542d17a..bc10510fbd3f0f085888aadd180452b494e6cfa1 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -142,6 +142,21 @@ void SyncBackendHostForProfileSyncTest::SetInitialSyncEndedForAllTypes() {
}
}
+void SyncBackendHostForProfileSyncTest::EmitOnNotificationsEnabled() {
+ frontend()->OnNotificationsEnabled();
+}
+
+void SyncBackendHostForProfileSyncTest::EmitOnNotificationsDisabled(
+ syncer::NotificationsDisabledReason reason) {
+ frontend()->OnNotificationsDisabled(reason);
+}
+
+void SyncBackendHostForProfileSyncTest::EmitOnIncomingNotification(
+ const syncer::ObjectIdPayloadMap& id_payloads,
+ const syncer::IncomingNotificationSource source) {
+ frontend()->OnIncomingNotification(id_payloads, source);
+}
+
} // namespace browser_sync
syncer::TestIdFactory* TestProfileSyncService::id_factory() {

Powered by Google App Engine
This is Rietveld 408576698