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

Unified Diff: webkit/glue/form_data.cc

Issue 3226001: Detecting form locale (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Unit test for top websites Created 10 years, 3 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 | « webkit/glue/form_data.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/form_data.cc
diff --git a/webkit/glue/form_data.cc b/webkit/glue/form_data.cc
index 4e1a6eac76bb2f91ec6793f31562068d5307b1c2..a1dd9024efbb8f406a69aba80d4b677308045644 100644
--- a/webkit/glue/form_data.cc
+++ b/webkit/glue/form_data.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "webkit/glue/form_data.h"
+#include "base/string_util.h"
namespace webkit_glue {
@@ -15,6 +16,7 @@ FormData::FormData(const FormData& data)
method(data.method),
origin(data.origin),
action(data.action),
+ locale(data.locale),
user_submitted(data.user_submitted),
fields(data.fields) {
}
@@ -27,6 +29,7 @@ bool FormData::operator==(const FormData& form) const {
StringToLowerASCII(method) == StringToLowerASCII(form.method) &&
origin == form.origin &&
action == form.action &&
+ locale == form.locale &&
user_submitted == form.user_submitted &&
fields == form.fields);
}
« no previous file with comments | « webkit/glue/form_data.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698