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

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

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. Created 4 years, 2 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/test/engine/test_syncable_utils.cc
diff --git a/components/sync/test/engine/test_syncable_utils.cc b/components/sync/test/engine/test_syncable_utils.cc
index 2882013784a04201bc55a1cffdce0777cbff9a5d..75d21687723df71d70c2eb48f3d5b3ae6649aebb 100644
--- a/components/sync/test/engine/test_syncable_utils.cc
+++ b/components/sync/test/engine/test_syncable_utils.cc
@@ -68,7 +68,7 @@ Id GetOnlyEntryWithName(BaseTransaction* rtrans,
void CreateTypeRoot(WriteTransaction* trans,
syncable::Directory* dir,
ModelType type) {
- std::string tag_name = syncer::ModelTypeToRootTag(type);
+ std::string tag_name = ModelTypeToRootTag(type);
syncable::MutableEntry node(trans, syncable::CREATE, type,
TestIdFactory::root(), tag_name);
DCHECK(node.good());
@@ -80,9 +80,9 @@ void CreateTypeRoot(WriteTransaction* trans,
node.PutServerVersion(20);
node.PutBaseVersion(20);
node.PutIsDel(false);
- node.PutId(syncer::TestIdFactory::MakeServer(tag_name));
+ node.PutId(TestIdFactory::MakeServer(tag_name));
sync_pb::EntitySpecifics specifics;
- syncer::AddDefaultFieldValue(type, &specifics);
+ AddDefaultFieldValue(type, &specifics);
node.PutServerSpecifics(specifics);
node.PutSpecifics(specifics);
}
« no previous file with comments | « components/sync/test/engine/test_directory_setter_upper.cc ('k') | components/sync/test/fake_server/bookmark_entity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698