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

Unified Diff: sync/syncable/entry.cc

Issue 14667013: sync: Better iteration in GenericChangeProcessor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review fixes Created 7 years, 7 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
« no previous file with comments | « sync/syncable/entry.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/entry.cc
diff --git a/sync/syncable/entry.cc b/sync/syncable/entry.cc
index 2d98c6fdff6d1101bed8422657b02cafe78e2d21..ac6244852c51dbf018deb2185f0f9c15c3ec0e4a 100644
--- a/sync/syncable/entry.cc
+++ b/sync/syncable/entry.cc
@@ -104,6 +104,10 @@ Id Entry::GetFirstChildId() const {
return dir()->GetFirstChildId(basetrans_, kernel_);
}
+void Entry::GetChildHandles(std::vector<int64>* result) const {
+ dir()->GetChildHandlesById(basetrans_, Get(ID), result);
+}
+
bool Entry::ShouldMaintainPosition() const {
return kernel_->ShouldMaintainPosition();
}
« no previous file with comments | « sync/syncable/entry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698