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

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

Issue 72613006: Eliminate AutofillWebDataService::FromBrowserContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to reviews 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 7bb298127f86c1e7d33e6f730c50e428c4d1c823..715e89d436638618dcd80cecedf2bac8a0967c61 100644
--- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
@@ -533,7 +533,8 @@ class ProfileSyncServiceAutofillTest
EXPECT_CALL(*personal_data_manager_, LoadCreditCards()).Times(1);
personal_data_manager_->Init(
- autofill::AutofillWebDataService::FromBrowserContext(profile_.get()),
+ WebDataServiceFactory::GetAutofillWebDataForProfile(
+ profile_.get(), Profile::EXPLICIT_ACCESS),
profile_->GetPrefs(),
profile_->IsOffTheRecord());

Powered by Google App Engine
This is Rietveld 408576698