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

Unified Diff: components/autofill/browser/wallet/wallet_address.cc

Issue 13697002: Make autofill's Address store country using the country code so that app locale isn't needed for th… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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: components/autofill/browser/wallet/wallet_address.cc
===================================================================
--- components/autofill/browser/wallet/wallet_address.cc (revision 192389)
+++ components/autofill/browser/wallet/wallet_address.cc (working copy)
@@ -82,7 +82,7 @@
Address::Address() {}
Address::Address(const AutofillProfile& profile)
- : country_name_code_(profile.CountryCode()),
+ : country_name_code_(WideToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY))),
Ilya Sherman 2013/04/05 05:18:01 I think you want UTF16ToASCII here... though actua
jam 2013/04/05 06:45:54 Done
recipient_name_(profile.GetRawInfo(NAME_FULL)),
address_line_1_(profile.GetRawInfo(ADDRESS_HOME_LINE1)),
address_line_2_(profile.GetRawInfo(ADDRESS_HOME_LINE2)),

Powered by Google App Engine
This is Rietveld 408576698