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

Unified Diff: chrome/browser/sync/profile_sync_service.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/invalidation_frontend.h ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 7a2d489ba9855a817183abc6a5751d4ea2ed34b5..a09766bf8e220e73f7a8a1f7de199081690630a2 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -40,7 +40,7 @@
#include "sync/internal_api/public/util/experiments.h"
#include "sync/internal_api/public/util/unrecoverable_error_handler.h"
#include "sync/js/sync_js_controller.h"
-#include "sync/notifier/sync_notifier_registrar.h"
+#include "sync/notifier/invalidator_registrar.h"
class Profile;
class ProfileSyncComponentsFactory;
@@ -258,7 +258,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
virtual bool HasSyncSetupCompleted() const;
virtual void SetSyncSetupCompleted();
- // syncer::SyncNotifier implementation (via SyncFrontend).
+ // syncer::InvalidationHandler implementation (via SyncFrontend).
virtual void OnNotificationsEnabled() OVERRIDE;
virtual void OnNotificationsDisabled(
syncer::NotificationsDisabledReason reason) OVERRIDE;
@@ -597,7 +597,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
//
// Handler registrations are persisted across restarts of sync.
virtual void RegisterInvalidationHandler(
- syncer::SyncNotifierObserver* handler) OVERRIDE;
+ syncer::InvalidationHandler* handler) OVERRIDE;
// Updates the set of ObjectIds associated with |handler|. |handler| must
// not be NULL, and must already be registered. An ID must be registered for
@@ -605,7 +605,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
//
// Registered IDs are persisted across restarts of sync.
virtual void UpdateRegisteredInvalidationIds(
- syncer::SyncNotifierObserver* handler,
+ syncer::InvalidationHandler* handler,
const syncer::ObjectIdSet& ids) OVERRIDE;
// Stops sending notifications to |handler|. |handler| must not be NULL, and
@@ -614,7 +614,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
//
// Handler registrations are persisted across restarts of sync.
virtual void UnregisterInvalidationHandler(
- syncer::SyncNotifierObserver* handler) OVERRIDE;
+ syncer::InvalidationHandler* handler) OVERRIDE;
// ProfileKeyedService implementation.
virtual void Shutdown() OVERRIDE;
@@ -891,7 +891,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
syncer::SyncManagerFactory sync_manager_factory_;
// Dispatches invalidations to handlers.
- syncer::SyncNotifierRegistrar notifier_registrar_;
+ syncer::InvalidatorRegistrar invalidator_registrar_;
DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
};
« no previous file with comments | « chrome/browser/sync/invalidation_frontend.h ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698