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 7d2d0d39307205bda3922d68482754d2405ef31a..087a8222b3e70f033ea4cfecdb69c1d9b14cd5d4 100644 |
--- a/chrome/browser/sync/test_profile_sync_service.cc |
+++ b/chrome/browser/sync/test_profile_sync_service.cc |
@@ -36,7 +36,6 @@ namespace browser_sync { |
SyncBackendHostForProfileSyncTest::SyncBackendHostForProfileSyncTest( |
Profile* profile, |
const base::WeakPtr<SyncPrefs>& sync_prefs, |
- const base::WeakPtr<InvalidatorStorage>& invalidator_storage, |
syncer::TestIdFactory& id_factory, |
base::Closure& callback, |
bool set_initial_sync_ended_on_init, |
@@ -44,7 +43,7 @@ SyncBackendHostForProfileSyncTest::SyncBackendHostForProfileSyncTest( |
bool fail_initial_download, |
syncer::StorageOption storage_option) |
: browser_sync::SyncBackendHost( |
- profile->GetDebugName(), profile, sync_prefs, invalidator_storage), |
+ profile->GetDebugName(), profile, sync_prefs), |
weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)), |
id_factory_(id_factory), |
callback_(callback), |
@@ -112,7 +111,8 @@ void SyncBackendHostForProfileSyncTest::RequestConfigureSyncer( |
if (fail_initial_download_) |
failed_configuration_types = types_to_config; |
- FinishConfigureDataTypesOnFrontendLoop(failed_configuration_types, |
+ FinishConfigureDataTypesOnFrontendLoop(types_to_config, |
+ failed_configuration_types, |
ready_task); |
} |
@@ -173,16 +173,6 @@ void SyncBackendHostForProfileSyncTest |
} |
} |
-void SyncBackendHostForProfileSyncTest::EmitOnInvalidatorStateChange( |
- syncer::InvalidatorState state) { |
- frontend()->OnInvalidatorStateChange(state); |
-} |
- |
-void SyncBackendHostForProfileSyncTest::EmitOnIncomingInvalidation( |
- const syncer::ObjectIdInvalidationMap& invalidation_map) { |
- frontend()->OnIncomingInvalidation(invalidation_map); |
-} |
- |
void SyncBackendHostForProfileSyncTest::ContinueInitialization( |
const syncer::WeakHandle<syncer::JsBackend>& js_backend, |
const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& |
@@ -286,7 +276,6 @@ void TestProfileSyncService::CreateBackend() { |
backend_.reset(new browser_sync::SyncBackendHostForProfileSyncTest( |
profile(), |
sync_prefs_.AsWeakPtr(), |
- invalidator_storage_.AsWeakPtr(), |
id_factory_, |
callback_, |
set_initial_sync_ended_on_init_, |