| Index: chrome/browser/sync/test/integration/profile_sync_service_harness.cc
|
| diff --git a/chrome/browser/sync/test/integration/profile_sync_service_harness.cc b/chrome/browser/sync/test/integration/profile_sync_service_harness.cc
|
| index d6670c1b1db0bf63db0faa0e43f84dab789b4cbd..1527dc6bfb7da069f5cedd965f445d0e30d9650b 100644
|
| --- a/chrome/browser/sync/test/integration/profile_sync_service_harness.cc
|
| +++ b/chrome/browser/sync/test/integration/profile_sync_service_harness.cc
|
| @@ -133,7 +133,7 @@
|
| }
|
|
|
| bool ProfileSyncServiceHarness::SetupSync() {
|
| - bool result = SetupSync(syncer::UserSelectableTypes());
|
| + bool result = SetupSync(syncer::ModelTypeSet::All());
|
| if (result == false) {
|
| std::string status = GetServiceStatus();
|
| LOG(ERROR) << profile_debug_name_
|
| @@ -189,7 +189,8 @@
|
|
|
| // Choose the datatypes to be synced. If all datatypes are to be synced,
|
| // set sync_everything to true; otherwise, set it to false.
|
| - bool sync_everything = synced_datatypes.Equals(syncer::UserSelectableTypes());
|
| + bool sync_everything =
|
| + synced_datatypes.Equals(syncer::ModelTypeSet::All());
|
| service()->OnUserChoseDatatypes(sync_everything, synced_datatypes);
|
|
|
| // Notify ProfileSyncService that we are done with configuration.
|
| @@ -344,7 +345,6 @@
|
| }
|
|
|
| synced_datatypes.Put(syncer::ModelTypeFromInt(datatype));
|
| - synced_datatypes.RetainAll(syncer::UserSelectableTypes());
|
| service()->OnUserChoseDatatypes(false, synced_datatypes);
|
| if (AwaitSyncSetupCompletion()) {
|
| DVLOG(1) << "EnableSyncForDatatype(): Enabled sync for datatype "
|
|
|