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

Unified Diff: components/sync/syncable/parent_child_index.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/syncable/parent_child_index.h
diff --git a/sync/syncable/parent_child_index.h b/components/sync/syncable/parent_child_index.h
similarity index 89%
rename from sync/syncable/parent_child_index.h
rename to components/sync/syncable/parent_child_index.h
index 0488c044bf9664c9b5f9956d6121364885405ddc..2cff9cb423c29fb42f68ef63da28d39610eb984a 100644
--- a/sync/syncable/parent_child_index.h
+++ b/components/sync/syncable/parent_child_index.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SYNC_SYNCABLE_PARENT_CHILD_INDEX_H_
-#define SYNC_SYNCABLE_PARENT_CHILD_INDEX_H_
+#ifndef COMPONENTS_SYNC_SYNCABLE_PARENT_CHILD_INDEX_H_
+#define COMPONENTS_SYNC_SYNCABLE_PARENT_CHILD_INDEX_H_
#include <map>
#include <memory>
@@ -11,9 +11,9 @@
#include <vector>
#include "base/macros.h"
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/base/model_type.h"
-#include "sync/syncable/syncable_id.h"
+#include "components/sync/base/model_type.h"
+#include "components/sync/base/sync_export.h"
+#include "components/sync/syncable/syncable_id.h"
namespace syncer {
namespace syncable {
@@ -23,7 +23,7 @@ class ParentChildIndex;
// A node ordering function.
struct SYNC_EXPORT ChildComparator {
- bool operator() (const EntryKernel* a, const EntryKernel* b) const;
+ bool operator()(const EntryKernel* a, const EntryKernel* b) const;
};
// An ordered set of nodes.
@@ -102,4 +102,4 @@ class SYNC_EXPORT ParentChildIndex {
} // namespace syncable
} // namespace syncer
-#endif // SYNC_SYNCABLE_PARENT_CHILD_INDEX_H_
+#endif // COMPONENTS_SYNC_SYNCABLE_PARENT_CHILD_INDEX_H_
« no previous file with comments | « components/sync/syncable/on_disk_directory_backing_store.cc ('k') | components/sync/syncable/parent_child_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698