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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 2940983003: [autofill] Add UKM for field type prediction quality and autofill outcome. (Closed)
Patch Set: fix a comment Created 3 years, 6 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
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 09cfefc22c2a4459b717ece06ccb9d35faaa9e34..a63c720f68f5f898251491521909967d5fc85539 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -1016,8 +1016,10 @@ void AutofillManager::OnLoadedServerPredictions(
// Will log quality metrics for each FormStructure based on the presence of
// autocomplete attributes, if available.
- for (FormStructure* cur_form : queried_forms)
- cur_form->LogQualityMetricsBasedOnAutocomplete();
+ for (FormStructure* cur_form : queried_forms) {
+ cur_form->LogQualityMetricsBasedOnAutocomplete(
+ form_interactions_ukm_logger_.get());
+ }
// Forward form structures to the password generation manager to detect
// account creation forms.
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698