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

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

Issue 11958029: [Sync] Add support for proxy types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more tests Created 7 years, 11 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/migration_errors_test.cc
diff --git a/chrome/browser/sync/test/integration/migration_errors_test.cc b/chrome/browser/sync/test/integration/migration_errors_test.cc
index 163a058cd8e1531cd89d4bc43c2fba3184681c25..8b2a009059f0e8f873dc54280adcd85f739e5723 100644
--- a/chrome/browser/sync/test/integration/migration_errors_test.cc
+++ b/chrome/browser/sync/test/integration/migration_errors_test.cc
@@ -74,8 +74,9 @@ class MigrationTest : public SyncTest {
enum TriggerMethod { MODIFY_PREF, MODIFY_BOOKMARK, TRIGGER_NOTIFICATION };
syncer::ModelTypeSet GetPreferredDataTypes() {
- const syncer::ModelTypeSet preferred_data_types =
+ syncer::ModelTypeSet preferred_data_types =
GetClient(0)->service()->GetPreferredDataTypes();
+ preferred_data_types.RemoveAll(syncer::LocalTypes());
// 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 =

Powered by Google App Engine
This is Rietveld 408576698