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

Unified Diff: chrome/browser/sync/test/integration/migration_test.cc

Issue 2365763002: [Sync] Removed passphrase helper methods, removed ((n)) pattern, and fixed lint violations. (Closed)
Patch Set: Removed useless pass-through accessors. Created 4 years, 3 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 | « no previous file | chrome/browser/sync/test/integration/password_manager_setting_migrator_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/migration_test.cc
diff --git a/chrome/browser/sync/test/integration/migration_test.cc b/chrome/browser/sync/test/integration/migration_test.cc
index 13ddb0192306c1ef122e83d3e92306d5fa8a8e73..76a4a38c1c12a66affc11d2583ecd4c7a66d6205 100644
--- a/chrome/browser/sync/test/integration/migration_test.cc
+++ b/chrome/browser/sync/test/integration/migration_test.cc
@@ -91,9 +91,9 @@ class MigrationTest : public SyncTest {
syncer::ModelTypeSet GetPreferredDataTypes() {
// ProfileSyncService must already have been created before we can call
// GetPreferredDataTypes().
- DCHECK(GetSyncService((0)));
+ DCHECK(GetSyncService(0));
syncer::ModelTypeSet preferred_data_types =
- GetSyncService((0))->GetPreferredDataTypes();
+ GetSyncService(0)->GetPreferredDataTypes();
preferred_data_types.RemoveAll(syncer::ProxyTypes());
// Supervised user data types will be "unready" during this test, so we
@@ -113,7 +113,7 @@ class MigrationTest : public SyncTest {
// Make sure all clients have the same preferred data types.
for (int i = 1; i < num_clients(); ++i) {
const syncer::ModelTypeSet other_preferred_data_types =
- GetSyncService((i))->GetPreferredDataTypes();
+ GetSyncService(i)->GetPreferredDataTypes();
EXPECT_EQ(other_preferred_data_types, preferred_data_types);
}
return preferred_data_types;
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/password_manager_setting_migrator_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698