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

Unified Diff: components/sync/core_impl/change_reorder_buffer.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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/sync/core_impl/change_reorder_buffer.h
diff --git a/sync/internal_api/change_reorder_buffer.h b/components/sync/core_impl/change_reorder_buffer.h
similarity index 87%
rename from sync/internal_api/change_reorder_buffer.h
rename to components/sync/core_impl/change_reorder_buffer.h
index a1917f31706fa50da38f998400e002c6f783d6ff..e7db07948ca9f0a27c8e115c2fc6ce14fb166604 100644
--- a/sync/internal_api/change_reorder_buffer.h
+++ b/components/sync/core_impl/change_reorder_buffer.h
@@ -6,8 +6,8 @@
// actions to achieve the ordering constraint required by the SyncObserver
// interface of the SyncAPI.
-#ifndef SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_
-#define SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_
+#ifndef COMPONENTS_SYNC_CORE_IMPL_CHANGE_REORDER_BUFFER_H_
+#define COMPONENTS_SYNC_CORE_IMPL_CHANGE_REORDER_BUFFER_H_
#include <stdint.h>
@@ -17,8 +17,8 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/linked_ptr.h"
-#include "sync/internal_api/public/change_record.h"
-#include "sync/protocol/sync.pb.h"
+#include "components/sync/core/change_record.h"
+#include "components/sync/protocol/sync.pb.h"
namespace syncer {
@@ -65,9 +65,9 @@ class ChangeReorderBuffer {
// that were pushed into the reorder buffer. |sync_trans| is used to
// determine the ordering. Returns true if successful, or false if
// an error was encountered.
- bool GetAllChangesInTreeOrder(
- const BaseTransaction* sync_trans,
- ImmutableChangeRecordList* changes) WARN_UNUSED_RESULT;
+ bool GetAllChangesInTreeOrder(const BaseTransaction* sync_trans,
+ ImmutableChangeRecordList* changes)
+ WARN_UNUSED_RESULT;
private:
class Traversal;
@@ -91,4 +91,4 @@ class ChangeReorderBuffer {
} // namespace syncer
-#endif // SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_
+#endif // COMPONENTS_SYNC_CORE_IMPL_CHANGE_REORDER_BUFFER_H_
« no previous file with comments | « components/sync/core_impl/attachments/task_queue_unittest.cc ('k') | components/sync/core_impl/change_reorder_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698