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 c98ffc378064301be3b89437e9bdca539ec034a2..1e4589ce87f1c50f0e39d256d3618aa3228b5601 100644 |
--- a/chrome/browser/sync/test_profile_sync_service.cc |
+++ b/chrome/browser/sync/test_profile_sync_service.cc |
@@ -145,6 +145,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() { |