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

Unified Diff: components/sync/syncable/parent_child_index.cc

Issue 2156693002: [Sync] //components/sync internal changes [DO NOT SUBMIT] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.cc
diff --git a/sync/syncable/parent_child_index.cc b/components/sync/syncable/parent_child_index.cc
similarity index 97%
copy from sync/syncable/parent_child_index.cc
copy to components/sync/syncable/parent_child_index.cc
index bf6e03fbd2044f55ea01d7b47ea2aa3b1b552c83..eeaf73d4941d931e5ffe95eb0d8481aa6b46256a 100644
--- a/sync/syncable/parent_child_index.cc
+++ b/components/sync/syncable/parent_child_index.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/syncable/parent_child_index.h"
+#include "components/sync/syncable/parent_child_index.h"
#include "base/stl_util.h"
-#include "sync/syncable/entry_kernel.h"
-#include "sync/syncable/syncable_id.h"
+#include "components/sync/syncable/entry_kernel.h"
+#include "components/sync/syncable/syncable_id.h"
namespace syncer {
namespace syncable {
@@ -160,7 +160,7 @@ void ParentChildIndex::Remove(EntryKernel* e) {
}
}
-bool ParentChildIndex::Contains(EntryKernel *e) const {
+bool ParentChildIndex::Contains(EntryKernel* e) const {
const OrderedChildSet* siblings = GetChildSet(e);
return siblings && siblings->count(e) > 0;
}

Powered by Google App Engine
This is Rietveld 408576698