| 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..ad4b3fdf3c2b99d98ad9d38169c5066c7cebd83f 100644
|
| --- a/chrome/browser/autofill/autofill_manager_unittest.cc
|
| +++ b/chrome/browser/autofill/autofill_manager_unittest.cc
|
| @@ -953,6 +953,7 @@ TEST_F(AutoFillManagerTest, FillPhoneNumber) {
|
| form.method = ASCIIToUTF16("POST");
|
| form.origin = GURL("http://myform.com/phone_form.html");
|
| form.action = GURL("http://myform.com/phone_submit.html");
|
| + form.user_submitted = true;
|
|
|
| webkit_glue::FormField field;
|
|
|
| @@ -1024,6 +1025,7 @@ TEST_F(AutoFillManagerTest, FormChangesRemoveField) {
|
| 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(
|
| @@ -1067,6 +1069,7 @@ TEST_F(AutoFillManagerTest, FormChangesRemoveField) {
|
| EXPECT_EQ(ASCIIToUTF16("POST"), results.method);
|
| EXPECT_EQ(GURL("http://myform.com/form.html"), results.origin);
|
| EXPECT_EQ(GURL("http://myform.com/submit.html"), results.action);
|
| + EXPECT_TRUE(results.user_submitted);
|
| ASSERT_EQ(4U, results.fields.size());
|
|
|
| autofill_unittest::CreateTestFormField(
|
| @@ -1089,6 +1092,7 @@ TEST_F(AutoFillManagerTest, FormChangesAddField) {
|
| 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(
|
| @@ -1132,6 +1136,7 @@ TEST_F(AutoFillManagerTest, FormChangesAddField) {
|
| EXPECT_EQ(ASCIIToUTF16("POST"), results.method);
|
| EXPECT_EQ(GURL("http://myform.com/form.html"), results.origin);
|
| EXPECT_EQ(GURL("http://myform.com/submit.html"), results.action);
|
| + EXPECT_TRUE(results.user_submitted);
|
| ASSERT_EQ(5U, results.fields.size());
|
|
|
| autofill_unittest::CreateTestFormField(
|
| @@ -1157,6 +1162,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(
|
|
|