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

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

Issue 3048012: AutoFill: Initialize form.user_submitted a few more places in the tests to (Closed)
Patch Set: Created 10 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
index a9a915d8d785c9545542ebeb17653fc9343d1c29..1d264a7e40ae10ee58906cc13401fe74f3aed08e 100644
--- a/chrome/browser/autofill/autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc
@@ -135,6 +135,7 @@ void CreateTestFormData(FormData* form) {
form->method = ASCIIToUTF16("POST");
form->origin = GURL("http://myform.com/form.html");
form->action = GURL("http://myform.com/submit.html");
+ form->user_submitted = true;
webkit_glue::FormField field;
autofill_unittest::CreateTestFormField(
@@ -177,6 +178,7 @@ void CreateTestFormDataBilling(FormData* form) {
form->method = ASCIIToUTF16("POST");
form->origin = GURL("https://myform.com/form.html");
form->action = GURL("https://myform.com/submit.html");
+ form->user_submitted = true;
webkit_glue::FormField field;
autofill_unittest::CreateTestFormField(
@@ -1157,6 +1159,7 @@ TEST_F(AutoFillManagerTest, HiddenFields) {
form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
+ form.user_submitted = true;
webkit_glue::FormField field;
autofill_unittest::CreateTestFormField(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698