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

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

Issue 71683003: Have AutofillManagerDelegate supply the AutofillWebDataService to core code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 7 years, 1 month 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/profile_sync_service_autofill_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
index 575c71464b345f6591760cb75bdd33dbcca673d0..7bb298127f86c1e7d33e6f730c50e428c4d1c823 100644
--- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
@@ -532,9 +532,10 @@ class ProfileSyncServiceAutofillTest
EXPECT_CALL(*personal_data_manager_, LoadProfiles()).Times(1);
EXPECT_CALL(*personal_data_manager_, LoadCreditCards()).Times(1);
- personal_data_manager_->Init(profile_.get(),
- profile_->GetPrefs(),
- profile_->IsOffTheRecord());
+ personal_data_manager_->Init(
+ autofill::AutofillWebDataService::FromBrowserContext(profile_.get()),
+ profile_->GetPrefs(),
+ profile_->IsOffTheRecord());
web_data_service_->StartSyncableService();
}

Powered by Google App Engine
This is Rietveld 408576698