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

Unified Diff: components/invalidation/invalidator_registrar.h

Issue 294123004: Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 | « components/invalidation/invalidation_service.h ('k') | components/invalidation/invalidator_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/invalidator_registrar.h
diff --git a/sync/notifier/invalidator_registrar.h b/components/invalidation/invalidator_registrar.h
similarity index 92%
rename from sync/notifier/invalidator_registrar.h
rename to components/invalidation/invalidator_registrar.h
index 145b7c3f0c2fc4859d9e864be6057ed598941283..cd85f0d15a7431bf69beaaa2dbf56a79476d7ed0 100644
--- a/sync/notifier/invalidator_registrar.h
+++ b/components/invalidation/invalidator_registrar.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_NOTIFIER_INVALIDATOR_REGISTRAR_H_
-#define SYNC_NOTIFIER_INVALIDATOR_REGISTRAR_H_
+#ifndef COMPONENTS_INVALIDATION_INVALIDATOR_REGISTRAR_H_
+#define COMPONENTS_INVALIDATION_INVALIDATOR_REGISTRAR_H_
#include <map>
#include "base/basictypes.h"
#include "base/observer_list.h"
#include "base/threading/thread_checker.h"
-#include "sync/base/sync_export.h"
+#include "components/invalidation/invalidation_export.h"
#include "sync/notifier/invalidation_handler.h"
#include "sync/notifier/invalidation_util.h"
@@ -26,7 +26,7 @@ class ObjectIdInvalidationMap;
// keep track of registered handlers and which object ID registrations are
// associated with which handlers, so implementors can just reuse the logic
// here to dispatch invalidations and other interesting notifications.
-class SYNC_EXPORT InvalidatorRegistrar {
+class INVALIDATION_EXPORT InvalidatorRegistrar {
public:
InvalidatorRegistrar();
@@ -94,4 +94,4 @@ class SYNC_EXPORT InvalidatorRegistrar {
} // namespace syncer
-#endif // SYNC_NOTIFIER_INVALIDATOR_REGISTRAR_H_
+#endif // COMPONENTS_INVALIDATION_INVALIDATOR_REGISTRAR_H_
« no previous file with comments | « components/invalidation/invalidation_service.h ('k') | components/invalidation/invalidator_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698