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

Unified Diff: components/invalidation/invalidator_state.h

Issue 400073003: Finish decoupling sync and invalidations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix GN Created 6 years, 5 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/invalidator_registrar.h ('k') | components/invalidation/invalidator_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/invalidator_state.h
diff --git a/sync/internal_api/public/base/invalidator_state.h b/components/invalidation/invalidator_state.h
similarity index 66%
rename from sync/internal_api/public/base/invalidator_state.h
rename to components/invalidation/invalidator_state.h
index 3a1c7ee3d308709ce73500dcdc9fdf2957c0dcf9..cee5bd8cdb683ef30fde9be06cbc8a1962e20395 100644
--- a/sync/internal_api/public/base/invalidator_state.h
+++ b/components/invalidation/invalidator_state.h
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATOR_STATE_H_
-#define SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATOR_STATE_H_
+#ifndef COMPONENTS_INVALIDATION_INVALIDATOR_STATE_H_
+#define COMPONENTS_INVALIDATION_INVALIDATOR_STATE_H_
-#include "sync/base/sync_export.h"
+#include "components/invalidation/invalidation_export.h"
namespace syncer {
@@ -23,8 +23,9 @@ enum InvalidatorState {
INVALIDATIONS_ENABLED
};
-SYNC_EXPORT const char* InvalidatorStateToString(InvalidatorState state);
+INVALIDATION_EXPORT const char* InvalidatorStateToString(
+ InvalidatorState state);
} // namespace syncer
-#endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATOR_STATE_H_
+#endif // COMPONENTS_INVALIDATION_INVALIDATOR_STATE_H_
« no previous file with comments | « components/invalidation/invalidator_registrar.h ('k') | components/invalidation/invalidator_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698