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

Unified Diff: sync/notifier/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/notifier/fake_sync_notifier_observer.cc ('k') | sync/notifier/invalidation_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/invalidation_handler.h
diff --git a/sync/notifier/sync_notifier_observer.h b/sync/notifier/invalidation_handler.h
similarity index 83%
rename from sync/notifier/sync_notifier_observer.h
rename to sync/notifier/invalidation_handler.h
index 1dd5ea6a098b7271c409b57ad162326a98c62394..c1252ac17f879ec57858490c0b583348f076f2bf 100644
--- a/sync/notifier/sync_notifier_observer.h
+++ b/sync/notifier/invalidation_handler.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_NOTIFIER_SYNC_NOTIFIER_OBSERVER_H_
-#define SYNC_NOTIFIER_SYNC_NOTIFIER_OBSERVER_H_
+#ifndef SYNC_NOTIFIER_INVALIDATION_HANDLER_H_
+#define SYNC_NOTIFIER_INVALIDATION_HANDLER_H_
#include "sync/notifier/object_id_state_map.h"
#include "sync/notifier/notifications_disabled_reason.h"
@@ -17,7 +17,7 @@ enum IncomingNotificationSource {
LOCAL_NOTIFICATION,
};
-class SyncNotifierObserver {
+class InvalidationHandler {
public:
// Called when notifications are enabled.
virtual void OnNotificationsEnabled() = 0;
@@ -34,9 +34,9 @@ class SyncNotifierObserver {
IncomingNotificationSource source) = 0;
protected:
- virtual ~SyncNotifierObserver() {}
+ virtual ~InvalidationHandler() {}
};
} // namespace syncer
-#endif // SYNC_NOTIFIER_SYNC_NOTIFIER_OBSERVER_H_
+#endif // SYNC_NOTIFIER_INVALIDATION_HANDLER_H_
« no previous file with comments | « sync/notifier/fake_sync_notifier_observer.cc ('k') | sync/notifier/invalidation_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698