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

Unified Diff: sync/notifier/fake_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
« no previous file with comments | « sync/internal_api/test/fake_sync_manager.cc ('k') | sync/notifier/fake_invalidation_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/fake_invalidation_handler.h
diff --git a/sync/notifier/fake_sync_notifier_observer.h b/sync/notifier/fake_invalidation_handler.h
similarity index 83%
rename from sync/notifier/fake_sync_notifier_observer.h
rename to sync/notifier/fake_invalidation_handler.h
index e1195d9be4691050e65bbccf5427eb7a1da02be2..1d9dcfbdf79e8cb3947034a8226379c8dd70efe5 100644
--- a/sync/notifier/fake_sync_notifier_observer.h
+++ b/sync/notifier/fake_invalidation_handler.h
@@ -8,21 +8,21 @@
#include <string>
#include "base/compiler_specific.h"
-#include "sync/notifier/sync_notifier_observer.h"
+#include "sync/notifier/invalidation_handler.h"
namespace syncer {
-class FakeSyncNotifierObserver : public SyncNotifierObserver {
+class FakeInvalidationHandler : public InvalidationHandler {
public:
- FakeSyncNotifierObserver();
- virtual ~FakeSyncNotifierObserver();
+ FakeInvalidationHandler();
+ virtual ~FakeInvalidationHandler();
NotificationsDisabledReason GetNotificationsDisabledReason() const;
const ObjectIdStateMap& GetLastNotificationIdStateMap() const;
IncomingNotificationSource GetLastNotificationSource() const;
int GetNotificationCount() const;
- // SyncNotifierObserver implementation.
+ // InvalidationHandler implementation.
virtual void OnNotificationsEnabled() OVERRIDE;
virtual void OnNotificationsDisabled(
NotificationsDisabledReason reason) OVERRIDE;
« no previous file with comments | « sync/internal_api/test/fake_sync_manager.cc ('k') | sync/notifier/fake_invalidation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698