Index: chrome/browser/autofill/form_structure.h |
diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h |
index bb583dcb9e2624b85b40d83ca6f15330a6691b70..6163b7b58064d210786a987ac6d78bdc33dae610 100644 |
--- a/chrome/browser/autofill/form_structure.h |
+++ b/chrome/browser/autofill/form_structure.h |
@@ -102,6 +102,9 @@ class FormStructure { |
} |
const GURL& source_url() const { return source_url_; } |
+ const GURL& target_url() const { return target_url_; } |
+ const std::string& locale() const { return locale_; } |
+ void set_locale(const std::string& locale) { locale_ = locale; } |
bool operator==(const webkit_glue::FormData& form) const; |
bool operator!=(const webkit_glue::FormData& form) const; |
@@ -133,6 +136,9 @@ class FormStructure { |
// The target URL. |
GURL target_url_; |
+ // The form's locale. |
+ std::string locale_; |
+ |
bool has_credit_card_field_; |
bool has_autofillable_field_; |
bool has_password_fields_; |