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

Unified Diff: components/invalidation/unacked_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/unacked_invalidation_set.h
diff --git a/sync/notifier/unacked_invalidation_set.h b/components/invalidation/unacked_invalidation_set.h
similarity index 92%
rename from sync/notifier/unacked_invalidation_set.h
rename to components/invalidation/unacked_invalidation_set.h
index ac83140365142389e2e7acecd0c80b2c41f93705..14b24120a8adeff2a5d871c50b0318a7c688b541 100644
--- a/sync/notifier/unacked_invalidation_set.h
+++ b/components/invalidation/unacked_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_UNACKED_INVALIDATION_SET_H_
-#define SYNC_NOTIFIER_UNACKED_INVALIDATION_SET_H_
+#ifndef COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_H_
+#define COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_H_
#include <vector>
-#include "sync/base/sync_export.h"
+#include "components/invalidation/invalidation_export.h"
#include "sync/internal_api/public/base/invalidation.h"
+#include "sync/internal_api/public/base/invalidation_util.h"
#include "sync/internal_api/public/util/weak_handle.h"
-#include "sync/notifier/invalidation_util.h"
namespace base {
class DictionaryValue;
@@ -29,7 +29,7 @@ class AckHandle;
// Manages the set of invalidations that are awaiting local acknowledgement for
// a particular ObjectId. This set of invalidations will be persisted across
// restarts, though this class is not directly responsible for that.
-class SYNC_EXPORT UnackedInvalidationSet {
+class INVALIDATION_EXPORT UnackedInvalidationSet {
public:
static const size_t kMaxBufferedInvalidations;
@@ -115,4 +115,4 @@ typedef std::map<invalidation::ObjectId,
} // namespace syncer
-#endif // SYNC_NOTIFIER_UNACKED_INVALIDATION_SET_H_
+#endif // COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_H_
« no previous file with comments | « components/invalidation/ticl_invalidation_service_unittest.cc ('k') | components/invalidation/unacked_invalidation_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698