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

Unified Diff: components/invalidation/object_id_invalidation_map.h

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target 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
Index: components/invalidation/object_id_invalidation_map.h
diff --git a/sync/notifier/object_id_invalidation_map.h b/components/invalidation/object_id_invalidation_map.h
similarity index 84%
rename from sync/notifier/object_id_invalidation_map.h
rename to components/invalidation/object_id_invalidation_map.h
index 3494a62aa2a9d9d6898077503a35c15fb67180ad..5fb8755d4c0089d428be752cf0029f9eae155929 100644
--- a/sync/notifier/object_id_invalidation_map.h
+++ b/components/invalidation/object_id_invalidation_map.h
@@ -2,22 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_NOTIFIER_OBJECT_ID_INVALIDATION_MAP_H_
-#define SYNC_NOTIFIER_OBJECT_ID_INVALIDATION_MAP_H_
+#ifndef COMPONENTS_INVALIDATION_OBJECT_ID_INVALIDATION_MAP_H_
+#define COMPONENTS_INVALIDATION_OBJECT_ID_INVALIDATION_MAP_H_
#include <map>
#include <vector>
-#include "sync/base/sync_export.h"
+#include "components/invalidation/invalidation_export.h"
+#include "components/invalidation/single_object_invalidation_set.h"
#include "sync/internal_api/public/base/invalidation.h"
-#include "sync/notifier/invalidation_util.h"
-#include "sync/notifier/single_object_invalidation_set.h"
+#include "sync/internal_api/public/base/invalidation_util.h"
namespace syncer {
// A set of notifications with some helper methods to organize them by object ID
// and version number.
-class SYNC_EXPORT ObjectIdInvalidationMap {
+class INVALIDATION_EXPORT ObjectIdInvalidationMap {
public:
// Creates an invalidation map that includes an 'unknown version'
// invalidation for each specified ID in |ids|.
@@ -73,4 +73,4 @@ class SYNC_EXPORT ObjectIdInvalidationMap {
} // namespace syncer
-#endif // SYNC_NOTIFIER_OBJECT_ID_INVALIDATION_MAP_H_
+#endif // COMPONENTS_INVALIDATION_OBJECT_ID_INVALIDATION_MAP_H_
« no previous file with comments | « components/invalidation/non_blocking_invalidator_unittest.cc ('k') | components/invalidation/object_id_invalidation_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698