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

Unified Diff: chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.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/extensions/api/push_messaging/push_messaging_invalidation_handler.h
diff --git a/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h b/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h
index d964fa3c1898339d0a442d207fe738603f08b11e..91182f384c06fcc5e62f698a2685b5cf3efd30f8 100644
--- a/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h
+++ b/chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h
@@ -12,7 +12,7 @@
#include "base/compiler_specific.h"
#include "base/threading/thread_checker.h"
#include "chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_mapper.h"
-#include "sync/notifier/sync_notifier_observer.h"
+#include "sync/notifier/invalidation_handler.h"
class InvalidationFrontend;
@@ -24,7 +24,7 @@ class PushMessagingInvalidationHandlerDelegate;
// invalidation registrations, and dispatches callbacks for any invalidations
// received.
class PushMessagingInvalidationHandler : public PushMessagingInvalidationMapper,
- public syncer::SyncNotifierObserver {
+ public syncer::InvalidationHandler {
public:
// |service| and |delegate| must remain valid for the lifetime of this object.
// |extension_ids| is the set of extension IDs for which push messaging is
@@ -39,7 +39,7 @@ class PushMessagingInvalidationHandler : public PushMessagingInvalidationMapper,
virtual void RegisterExtension(const std::string& extension_id) OVERRIDE;
virtual void UnregisterExtension(const std::string& extension_id) OVERRIDE;
- // SyncNotifierObserver implementation.
+ // InvalidationHandler implementation.
virtual void OnNotificationsEnabled() OVERRIDE;
virtual void OnNotificationsDisabled(
syncer::NotificationsDisabledReason reason) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698