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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_i18n_input.h

Issue 212873003: Store the language code for the address in autofill profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 9 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
Index: chrome/browser/ui/autofill/autofill_dialog_i18n_input.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h
index 0384e1b6f5515a4d1cca7ba98c41a215062f11f1..e7f61b4d2741b3693327b3818566295a7c77f274 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h
@@ -28,11 +28,17 @@ class CreditCard;
namespace i18ninput {
// Builds internationalized address input fields for |country_code| and adds
-// them (at most 13) to |inputs|. |address_type| is which kind of address to
-// build (e.g. billing or shipping).
+// them (at most 13) to |inputs|.
+//
+// Sets the |language_code| to be used for address formatting. The
+// |language_code| parameter can be NULL.
+//
+// The |address_type| parameter is which kind of address to build (e.g. billing
+// or shipping).
Ilya Sherman 2014/03/29 01:24:42 nit: I'd move this above the description for the |
please use gerrit instead 2014/04/02 21:54:52 Done.
void BuildAddressInputs(common::AddressType address_type,
const std::string& country_code,
- DetailInputs* inputs);
+ DetailInputs* inputs,
+ std::string* language_code);
// Returns whether the given card is complete and verified (i.e. was reviewed
// by the user and not just automatically aggregated).

Powered by Google App Engine
This is Rietveld 408576698