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

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

Issue 10875064: Rename SyncNotifier->Invalidator and SyncNotifierObserver->InvalidationHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to ToT for landing Created 8 years, 4 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 0216df938b61dd95874f2df95b7f8859be1757dc..5d85bec5fb9cf4cea157f6b51412fb7ce15434bc 100644
--- a/chrome/browser/sync/glue/chrome_sync_notification_bridge.h
+++ b/chrome/browser/sync/glue/chrome_sync_notification_bridge.h
@@ -16,7 +16,7 @@
class Profile;
namespace syncer {
-class SyncNotifierObserver;
+class InvalidationHandler;
} // namespace
namespace browser_sync {
@@ -44,10 +44,10 @@ 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 RegisterHandler(syncer::SyncNotifierObserver* handler);
- virtual void UpdateRegisteredIds(syncer::SyncNotifierObserver* handler,
+ virtual void RegisterHandler(syncer::InvalidationHandler* handler);
+ virtual void UpdateRegisteredIds(syncer::InvalidationHandler* handler,
const syncer::ObjectIdSet& ids);
- virtual void UnregisterHandler(syncer::SyncNotifierObserver* handler);
+ virtual void UnregisterHandler(syncer::InvalidationHandler* handler);
// NotificationObserver implementation. Called on UI thread.
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698