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

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

Issue 2842062: AutoFill: Record whether the user initiated the form submission and don't save form data if the form (Closed)
Patch Set: Relax DCHECK. 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 | « chrome/browser/autofill/form_structure.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/form_structure_unittest.cc
diff --git a/chrome/browser/autofill/form_structure_unittest.cc b/chrome/browser/autofill/form_structure_unittest.cc
index 7b8848f4c703ac1fdc2d947277f9d22e2759cb71..0a021987e23d9d4c8b92d20fb02d38afee36f467 100644
--- a/chrome/browser/autofill/form_structure_unittest.cc
+++ b/chrome/browser/autofill/form_structure_unittest.cc
@@ -93,6 +93,7 @@ TEST(FormStructureTest, AutoFillCount) {
TEST(FormStructureTest, ConvertToFormData) {
FormData form;
form.method = ASCIIToUTF16("post");
+ form.user_submitted = true;
form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("username"),
ASCIIToUTF16("username"),
string16(),
« no previous file with comments | « chrome/browser/autofill/form_structure.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698