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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 10817023: [Sync] Pass the correct set of enabled types to the sync notifier (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index 51a915d9c16a24330044ee020741e99261b3d7a5..be0f1076eec9757c2d7992f7161504e0b21f63c2 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -86,12 +86,12 @@ void SyncBackendHostForProfileSyncTest::RequestConfigureSyncer(
const syncer::ModelSafeRoutingInfo& routing_info,
const base::Callback<void(syncer::ModelTypeSet)>& ready_task,
const base::Closure& retry_callback) {
- syncer::ModelTypeSet sync_ended;
- if (!fail_initial_download_)
- sync_ended.PutAll(types_to_config);
+ syncer::ModelTypeSet failed_configuration_types;
+ if (fail_initial_download_) {
Nicolas Zea 2012/07/24 18:09:31 nit: remove curly brace
akalin 2012/07/24 18:59:39 Done.
+ failed_configuration_types = types_to_config;
+ }
- FinishConfigureDataTypesOnFrontendLoop(types_to_config,
- sync_ended,
+ FinishConfigureDataTypesOnFrontendLoop(failed_configuration_types,
ready_task);
}

Powered by Google App Engine
This is Rietveld 408576698