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

Unified Diff: chrome/browser/sync/glue/chrome_sync_notification_bridge.h

Issue 10702074: Refactor sync-specific parts out of SyncNotifier/SyncNotifierObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: FOR_THE_HORDE 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/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 938d91e2dda46aaa291e4f8392e68a7eefcfd90e..5966d3d728bd06e77cc439c4c2a9feb651a6c366 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;
@@ -39,8 +40,8 @@ class ChromeSyncNotificationBridge : public content::NotificationObserver {
void UpdateEnabledTypes(const syncer::ModelTypeSet enabled_types);
// Must be called on the sync task runner.
- 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,

Powered by Google App Engine
This is Rietveld 408576698