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

Unified Diff: sync/notifier/invalidator_factory.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/invalidator.h ('k') | sync/notifier/invalidator_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/invalidator_factory.h
diff --git a/sync/notifier/sync_notifier_factory.h b/sync/notifier/invalidator_factory.h
similarity index 74%
rename from sync/notifier/sync_notifier_factory.h
rename to sync/notifier/invalidator_factory.h
index 0c8a2d34ed7fb300d3db89ec5b94f4df8741bdda..48763cd4135acae07cefc460bcbd8bb71a1df6f3 100644
--- a/sync/notifier/sync_notifier_factory.h
+++ b/sync/notifier/invalidator_factory.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_FACTORY_H_
-#define SYNC_NOTIFIER_SYNC_NOTIFIER_FACTORY_H_
+#ifndef SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_
+#define SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_
#include <string>
@@ -14,26 +14,26 @@
namespace syncer {
-class SyncNotifier;
+class Invalidator;
-// Class to instantiate various implementations of the SyncNotifier
+// Class to instantiate various implementations of the Invalidator
// interface.
-class SyncNotifierFactory {
+class InvalidatorFactory {
public:
// |client_info| is a string identifying the client, e.g. a user
// agent string. |invalidation_state_tracker| may be NULL (for
// tests).
- SyncNotifierFactory(
+ InvalidatorFactory(
const notifier::NotifierOptions& notifier_options,
const std::string& client_info,
const base::WeakPtr<InvalidationStateTracker>&
invalidation_state_tracker);
- ~SyncNotifierFactory();
+ ~InvalidatorFactory();
- // Creates a sync notifier. Caller takes ownership of the returned
+ // Creates an invalidator. Caller takes ownership of the returned
// object. However, the returned object must not outlive the
// factory from which it was created. Can be called on any thread.
- SyncNotifier* CreateSyncNotifier();
+ Invalidator* CreateInvalidator();
private:
const notifier::NotifierOptions notifier_options_;
@@ -46,4 +46,4 @@ class SyncNotifierFactory {
} // namespace syncer
-#endif // SYNC_NOTIFIER_SYNC_NOTIFIER_FACTORY_H_
+#endif // SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_
« no previous file with comments | « sync/notifier/invalidator.h ('k') | sync/notifier/invalidator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698