Index: chrome/browser/sync/glue/chrome_sync_notification_bridge.h |
diff --git a/chrome/browser/sync/glue/chrome_sync_notification_bridge.h b/chrome/browser/sync/glue/chrome_sync_notification_bridge.h |
index bda23b4fde4b5c614ff588aecb4c7eb52480a7fd..a878ff711f14e999c7282a637f1108433ef7d8b0 100644 |
--- a/chrome/browser/sync/glue/chrome_sync_notification_bridge.h |
+++ b/chrome/browser/sync/glue/chrome_sync_notification_bridge.h |
@@ -11,6 +11,7 @@ |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "sync/internal_api/public/base/model_type.h" |
+#include "sync/notifier/invalidation_util.h" |
class Profile; |
@@ -38,8 +39,8 @@ class ChromeSyncNotificationBridge : public content::NotificationObserver { |
// Must be called on the sync task runner. |
void UpdateEnabledTypes(syncer::ModelTypeSet enabled_types); |
// Marked virtual for tests. |
- virtual void AddObserver(syncer::SyncNotifierObserver* observer); |
- virtual void RemoveObserver(syncer::SyncNotifierObserver* observer); |
+ virtual void UpdateRegisteredIds(syncer::SyncNotifierObserver* handler, |
+ const syncer::ObjectIdSet& ids); |
// NotificationObserver implementation. Called on UI thread. |
virtual void Observe(int type, |