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

Unified Diff: components/autofill/browser/form_group.h

Issue 13488009: Remove application locale cache in autofill code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 8 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 | « components/autofill/browser/credit_card_unittest.cc ('k') | components/autofill/browser/form_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/form_group.h
===================================================================
--- components/autofill/browser/form_group.h (revision 192613)
+++ components/autofill/browser/form_group.h (working copy)
@@ -63,11 +63,13 @@
// data variant |variant|). It is an error to call the default implementation.
virtual void FillFormField(const AutofillField& field,
size_t variant,
+ const std::string& app_locale,
FormFieldData* field_data) const;
// Fills in select control with data matching |type| from |this|.
// Public for testing purposes.
void FillSelectControl(AutofillFieldType type,
+ const std::string& app_locale,
FormFieldData* field_data) const;
// Returns true if |value| is a valid US state name or abbreviation. It is
@@ -86,7 +88,8 @@
// Fills in a select control for a country from data in |this|. Returns true
// for success.
- virtual bool FillCountrySelectControl(FormFieldData* field_data) const;
+ virtual bool FillCountrySelectControl(const std::string& app_locale,
+ FormFieldData* field_data) const;
};
#endif // COMPONENTS_AUTOFILL_BROWSER_FORM_GROUP_H_
« no previous file with comments | « components/autofill/browser/credit_card_unittest.cc ('k') | components/autofill/browser/form_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698