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

Unified Diff: sync/internal_api/sync_manager_impl_unittest.cc

Issue 1226213002: Sync: Support nodes with implicit permanent folders: Node Browser and out-of-order loading from DB (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed comments Created 5 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
« no previous file with comments | « sync/internal_api/public/base/model_type.h ('k') | sync/internal_api/write_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/sync_manager_impl_unittest.cc
diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc
index de645ae7243b3b4f7946d72e3e0f4502a47fef04..84389e639c7b2370060dbbda5255be150cc63661 100644
--- a/sync/internal_api/sync_manager_impl_unittest.cc
+++ b/sync/internal_api/sync_manager_impl_unittest.cc
@@ -173,10 +173,10 @@ int64 MakeTypeRoot(UserShare* share, ModelType model_type) {
entry.PutServerIsDir(true);
entry.PutIsDir(true);
entry.PutServerSpecifics(specifics);
+ entry.PutSpecifics(specifics);
entry.PutUniqueServerTag(type_tag);
entry.PutNonUniqueName(type_tag);
entry.PutIsDel(false);
- entry.PutSpecifics(specifics);
return entry.GetMetahandle();
}
@@ -202,10 +202,10 @@ int64 MakeServerNode(UserShare* share, ModelType model_type,
entry.PutServerIsDir(false);
entry.PutIsDir(false);
entry.PutServerSpecifics(specifics);
+ entry.PutSpecifics(specifics);
entry.PutNonUniqueName(client_tag);
entry.PutUniqueClientTag(hashed_tag);
entry.PutIsDel(false);
- entry.PutSpecifics(specifics);
return entry.GetMetahandle();
}
« no previous file with comments | « sync/internal_api/public/base/model_type.h ('k') | sync/internal_api/write_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698