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

Unified Diff: chrome/common/render_messages.h

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_unittest.cc ('k') | chrome/renderer/form_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index e1ec6b32f30728fe2f005ade68b9a5765b781ce3..bc026d3a063193a6b0795221e22af5a38c82390e 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1788,6 +1788,7 @@ struct ParamTraits<webkit_glue::FormData> {
WriteParam(m, p.method);
WriteParam(m, p.origin);
WriteParam(m, p.action);
+ WriteParam(m, p.user_submitted);
WriteParam(m, p.fields);
}
static bool Read(const Message* m, void** iter, param_type* p) {
@@ -1796,6 +1797,7 @@ struct ParamTraits<webkit_glue::FormData> {
ReadParam(m, iter, &p->method) &&
ReadParam(m, iter, &p->origin) &&
ReadParam(m, iter, &p->action) &&
+ ReadParam(m, iter, &p->user_submitted) &&
ReadParam(m, iter, &p->fields);
}
static void Log(const param_type& p, std::wstring* l) {
« no previous file with comments | « chrome/browser/autofill/form_structure_unittest.cc ('k') | chrome/renderer/form_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698