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

Unified Diff: chrome/browser/sync/test/integration/sync_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
Index: chrome/browser/sync/test/integration/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index e1a9781b8b7e5a7eee49594fdbbc34a353eb69f9..fe09c8550e1320b1c41884cbf5f09918c23ef43d 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -594,11 +594,11 @@ void SyncTest::DisableNetwork(Profile* profile) {
net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests();
}
-bool SyncTest::EnableEncryption(int index, syncable::ModelType type) {
+bool SyncTest::EnableEncryption(int index, syncer::ModelType type) {
return GetClient(index)->EnableEncryptionForType(type);
}
-bool SyncTest::IsEncrypted(int index, syncable::ModelType type) {
+bool SyncTest::IsEncrypted(int index, syncer::ModelType type) {
return GetClient(index)->IsTypeEncrypted(type);
}
@@ -639,8 +639,7 @@ void SyncTest::EnableNotifications() {
notifications_enabled_ = true;
}
-void SyncTest::TriggerNotification(
- syncable::ModelTypeSet changed_types) {
+void SyncTest::TriggerNotification(syncer::ModelTypeSet changed_types) {
ASSERT_TRUE(ServerSupportsNotificationControl());
const std::string& data =
syncer::P2PNotificationData("from_server",
@@ -661,17 +660,16 @@ bool SyncTest::ServerSupportsErrorTriggering() const {
return server_type_ == LOCAL_PYTHON_SERVER;
}
-void SyncTest::TriggerMigrationDoneError(
- syncable::ModelTypeSet model_types) {
+void SyncTest::TriggerMigrationDoneError(syncer::ModelTypeSet model_types) {
ASSERT_TRUE(ServerSupportsErrorTriggering());
std::string path = "chromiumsync/migrate";
char joiner = '?';
- for (syncable::ModelTypeSet::Iterator it = model_types.First();
+ for (syncer::ModelTypeSet::Iterator it = model_types.First();
it.Good(); it.Inc()) {
path.append(
base::StringPrintf(
"%ctype=%d", joiner,
- syncable::GetSpecificsFieldNumberFromModelType(it.Get())));
+ syncer::GetSpecificsFieldNumberFromModelType(it.Get())));
joiner = '&';
}
ui_test_utils::NavigateToURL(browser(), sync_server_.GetURL(path));
« no previous file with comments | « chrome/browser/sync/test/integration/sync_test.h ('k') | chrome/browser/sync/test/integration/two_client_apps_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698