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

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

Issue 1010263002: [Autofill] Add FormEvent logging for "will submit form". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: 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 98aabf7aec1c431f9db2953cb06017ad703db6d2..aa08d11a1b9797b06028f2bc46431d3eea092e59 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -328,6 +328,8 @@ bool AutofillManager::OnWillSubmitForm(const FormData& form,
if (!submitted_form)
return false;
+ AutofillMetrics::LogIsFormUserSubmitted(form.user_submitted);
+
address_form_event_logger_->OnDidSubmitForm();
credit_card_form_event_logger_->OnDidSubmitForm();
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_metrics.h » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698