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

Unified Diff: chrome/browser/sync/abstract_profile_sync_service_test.cc

Issue 10696087: [Sync] Move ModelType and related classes to 'syncer' namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort headers, update copyrights Created 8 years, 6 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 | « chrome/browser/sync/abstract_profile_sync_service_test.h ('k') | chrome/browser/sync/backend_migrator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/abstract_profile_sync_service_test.cc
diff --git a/chrome/browser/sync/abstract_profile_sync_service_test.cc b/chrome/browser/sync/abstract_profile_sync_service_test.cc
index 82b6d5d8bd79be6692a559a3216269c110e674d2..f12c501ef151a72a6690c06b2c947d98b34c75ad 100644
--- a/chrome/browser/sync/abstract_profile_sync_service_test.cc
+++ b/chrome/browser/sync/abstract_profile_sync_service_test.cc
@@ -18,6 +18,7 @@
using syncer::TestIdFactory;
using content::BrowserThread;
+using syncer::ModelType;
using syncer::UserShare;
using syncer::syncable::BASE_VERSION;
using syncer::syncable::CREATE;
@@ -25,7 +26,6 @@ using syncer::syncable::IS_DEL;
using syncer::syncable::IS_DIR;
using syncer::syncable::IS_UNAPPLIED_UPDATE;
using syncer::syncable::IS_UNSYNCED;
-using syncer::syncable::ModelType;
using syncer::syncable::MutableEntry;
using syncer::syncable::SERVER_IS_DIR;
using syncer::syncable::SERVER_VERSION;
@@ -37,7 +37,7 @@ using syncer::syncable::WriteTransaction;
/* static */
const std::string ProfileSyncServiceTestHelper::GetTagForType(
ModelType model_type) {
- return syncable::ModelTypeToRootTag(model_type);
+ return syncer::ModelTypeToRootTag(model_type);
}
/* static */
@@ -63,7 +63,7 @@ bool ProfileSyncServiceTestHelper::CreateRoot(ModelType model_type,
node.Put(IS_DEL, false);
node.Put(syncer::syncable::ID, ids->MakeServer(tag_name));
sync_pb::EntitySpecifics specifics;
- syncable::AddDefaultFieldValue(model_type, &specifics);
+ syncer::AddDefaultFieldValue(model_type, &specifics);
node.Put(SPECIFICS, specifics);
return true;
« no previous file with comments | « chrome/browser/sync/abstract_profile_sync_service_test.h ('k') | chrome/browser/sync/backend_migrator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698