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

Unified Diff: components/autofill/content/common/autofill_types_struct_traits_unittest.cc

Issue 2859243004: Add metrics for PasswordForm submission types (Closed)
Patch Set: addressed reviewer comments Created 3 years, 7 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/content/common/autofill_types_struct_traits_unittest.cc
diff --git a/components/autofill/content/common/autofill_types_struct_traits_unittest.cc b/components/autofill/content/common/autofill_types_struct_traits_unittest.cc
index dba2fa69c4ac8793d752e1d36a53cdc9bba13e32..ce4e7b42f655ad1fc202d552c3d401733f57abfa 100644
--- a/components/autofill/content/common/autofill_types_struct_traits_unittest.cc
+++ b/components/autofill/content/common/autofill_types_struct_traits_unittest.cc
@@ -100,6 +100,8 @@ void CreateTestPasswordForm(PasswordForm* form) {
form->is_public_suffix_match = true;
form->is_affiliation_based_match = true;
form->does_look_like_signup_form = true;
+ form->submission_event =
+ PasswordForm::SubmissionIndicatorEvent::SAME_DOCUMENT_NAVIGATION;
}
void CreateTestFormsPredictionsMap(FormsPredictionsMap* predictions) {

Powered by Google App Engine
This is Rietveld 408576698