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

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

Issue 2948303002: [Sync] Sanity test for UserEvents. (Closed)
Patch Set: Rebase Created 3 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 | « no previous file | chrome/browser/sync/test/integration/single_client_user_events_sync_test.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 848b93b6853c1cd32e5e6ba04d5432e2f0cf37b2..3930e733901364e7e6dc43482f6201943e2d4e6c 100644
--- a/chrome/browser/sync/test/integration/migration_test.cc
+++ b/chrome/browser/sync/test/integration/migration_test.cc
@@ -112,6 +112,9 @@ class MigrationTest : public SyncTest {
// that it be migrated.
preferred_data_types.Remove(syncer::ARC_PACKAGE);
+ // Doesn't make sense to migrate commit only types.
+ preferred_data_types.RemoveAll(syncer::CommitOnlyTypes());
+
// 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 =
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/single_client_user_events_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698