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

Unified Diff: chrome/browser/autofill/personal_data_manager_factory.cc

Issue 2740633002: [Autofill] Add upstreaming UKM (Closed)
Patch Set: Created 3 years, 9 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/autofill/personal_data_manager_factory.cc
diff --git a/chrome/browser/autofill/personal_data_manager_factory.cc b/chrome/browser/autofill/personal_data_manager_factory.cc
index 8f0b226aa9987907d7778f96d257dfaacef31c2b..a949c393daa37d9b5ef8061a2d0ac51fd6debfc9 100644
--- a/chrome/browser/autofill/personal_data_manager_factory.cc
+++ b/chrome/browser/autofill/personal_data_manager_factory.cc
@@ -47,7 +47,8 @@ KeyedService* PersonalDataManagerFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const {
Profile* profile = Profile::FromBrowserContext(context);
PersonalDataManager* service =
- new PersonalDataManager(g_browser_process->GetApplicationLocale());
+ new PersonalDataManager(g_browser_process->GetApplicationLocale(),
+ g_browser_process->ukm_service());
service->Init(WebDataServiceFactory::GetAutofillWebDataForProfile(
profile, ServiceAccessType::EXPLICIT_ACCESS),
profile->GetPrefs(),

Powered by Google App Engine
This is Rietveld 408576698