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

Unified Diff: chrome/browser/sync/invalidation_frontend.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
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/invalidation_frontend.h
diff --git a/chrome/browser/sync/invalidation_frontend.h b/chrome/browser/sync/invalidation_frontend.h
index 991427157ee596acbdc0f4a80e34de75d93b5749..87d6a97ab7aaca44a2b17404208a8c73fbb29870 100644
--- a/chrome/browser/sync/invalidation_frontend.h
+++ b/chrome/browser/sync/invalidation_frontend.h
@@ -8,7 +8,7 @@
#include "sync/notifier/invalidation_util.h"
namespace syncer {
-class SyncNotifierObserver;
+class InvalidationHandler;
} // namespace syncer
// Interface for classes that handle invalidation registrations and send out
@@ -20,7 +20,7 @@ class InvalidationFrontend {
//
// Handler registrations are persisted across restarts of sync.
virtual void RegisterInvalidationHandler(
- syncer::SyncNotifierObserver* handler) = 0;
+ syncer::InvalidationHandler* handler) = 0;
// Updates the set of ObjectIds associated with |handler|. |handler| must
// not be NULL, and must already be registered. An ID must be registered for
@@ -28,7 +28,7 @@ class InvalidationFrontend {
//
// Registered IDs are persisted across restarts of sync.
virtual void UpdateRegisteredInvalidationIds(
- syncer::SyncNotifierObserver* handler,
+ syncer::InvalidationHandler* handler,
const syncer::ObjectIdSet& ids) = 0;
// Stops sending notifications to |handler|. |handler| must not be NULL, and
@@ -37,7 +37,7 @@ class InvalidationFrontend {
//
// Handler registrations are persisted across restarts of sync.
virtual void UnregisterInvalidationHandler(
- syncer::SyncNotifierObserver* handler) = 0;
+ syncer::InvalidationHandler* handler) = 0;
protected:
virtual ~InvalidationFrontend() { }
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698