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

Unified Diff: components/invalidation/single_object_invalidation_set.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/single_object_invalidation_set.h
diff --git a/sync/notifier/single_object_invalidation_set.h b/components/invalidation/single_object_invalidation_set.h
similarity index 82%
rename from sync/notifier/single_object_invalidation_set.h
rename to components/invalidation/single_object_invalidation_set.h
index 579e55fb8f2932c3dce77d4375cd8fce4fe00b5a..8dffc594c54dd613ce8a5c1ea22c68d1bffdfa61 100644
--- a/sync/notifier/single_object_invalidation_set.h
+++ b/components/invalidation/single_object_invalidation_set.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_SINGLE_OBJECT_INVALIDATION_SET_H_
-#define SYNC_NOTIFIER_SINGLE_OBJECT_INVALIDATION_SET_H_
+#ifndef COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_
+#define COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_
#include <set>
#include "base/memory/scoped_ptr.h"
-#include "sync/base/sync_export.h"
+#include "components/invalidation/invalidation_export.h"
#include "sync/internal_api/public/base/invalidation.h"
-#include "sync/notifier/invalidation_util.h"
+#include "sync/internal_api/public/base/invalidation_util.h"
namespace base {
class ListValue;
@@ -23,7 +23,7 @@ namespace syncer {
// The list is kept sorted by version to make it easier to perform common
// operations, like checking for an unknown version invalidation or fetching the
// highest invalidation with the highest version number.
-class SYNC_EXPORT SingleObjectInvalidationSet {
+class INVALIDATION_EXPORT SingleObjectInvalidationSet {
public:
typedef std::set<Invalidation, InvalidationVersionLessThan> InvalidationsSet;
typedef InvalidationsSet::const_iterator const_iterator;
@@ -61,4 +61,4 @@ class SYNC_EXPORT SingleObjectInvalidationSet {
} // syncer
-#endif // SYNC_NOTIFIER_SINGLE_OBJECT_INVALIDATION_SET_H_
+#endif // COMPONENTS_INVALIDATION_SINGLE_OBJECT_INVALIDATION_SET_H_
« no previous file with comments | « components/invalidation/registration_manager_unittest.cc ('k') | components/invalidation/single_object_invalidation_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698