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

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

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/wallet/wallet_items.h ('k') | components/webdata/autofill/autofill_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/wallet/wallet_items.cc
===================================================================
--- components/autofill/browser/wallet/wallet_items.cc (revision 192613)
+++ components/autofill/browser/wallet/wallet_items.cc (working copy)
@@ -313,9 +313,11 @@
return ResourceBundle::GetSharedInstance().GetImageNamed(idr);
}
-string16 WalletItems::MaskedInstrument::GetInfo(AutofillFieldType type) const {
+string16 WalletItems::MaskedInstrument::GetInfo(
+ AutofillFieldType type,
+ const std::string& app_locale) const {
if (AutofillType(type).group() != AutofillType::CREDIT_CARD)
- return address().GetInfo(type);
+ return address().GetInfo(type, app_locale);
switch (type) {
case CREDIT_CARD_NAME:
« no previous file with comments | « components/autofill/browser/wallet/wallet_items.h ('k') | components/webdata/autofill/autofill_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698