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

Unified Diff: chrome/test/sync/engine/test_syncable_utils.cc

Issue 7033043: [Sync] Speed up sync node browser/search in about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 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
Index: chrome/test/sync/engine/test_syncable_utils.cc
diff --git a/chrome/test/sync/engine/test_syncable_utils.cc b/chrome/test/sync/engine/test_syncable_utils.cc
index 12e5b057bd8eea9e9152dd9feec830119edfbc6e..7a657faee23fd80715e7f9004bdb9d8a0df8f12c 100644
--- a/chrome/test/sync/engine/test_syncable_utils.cc
+++ b/chrome/test/sync/engine/test_syncable_utils.cc
@@ -16,7 +16,7 @@ int CountEntriesWithName(BaseTransaction* rtrans,
const syncable::Id& parent_id,
const string& name) {
Directory::ChildHandles child_handles;
- rtrans->directory()->GetChildHandles(rtrans, parent_id, &child_handles);
+ rtrans->directory()->GetChildHandlesById(rtrans, parent_id, &child_handles);
if (child_handles.size() <= 0) {
return 0;
}
@@ -37,7 +37,7 @@ Id GetFirstEntryWithName(BaseTransaction* rtrans,
const syncable::Id& parent_id,
const string& name) {
Directory::ChildHandles child_handles;
- rtrans->directory()->GetChildHandles(rtrans, parent_id, &child_handles);
+ rtrans->directory()->GetChildHandlesById(rtrans, parent_id, &child_handles);
for (Directory::ChildHandles::iterator i = child_handles.begin();
i != child_handles.end(); ++i) {
« chrome/browser/sync/engine/syncapi.cc ('K') | « chrome/browser/sync/syncable/syncable_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698