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

Unified Diff: chrome/browser/dom_ui/options/autofill_options_handler.cc

Issue 6369015: DOMUI: Two fixes for CC editor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | « no previous file | chrome/browser/resources/options/autofill_edit_creditcard_overlay.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/options/autofill_options_handler.cc
diff --git a/chrome/browser/dom_ui/options/autofill_options_handler.cc b/chrome/browser/dom_ui/options/autofill_options_handler.cc
index 2bebfb084004cf4225527737d06d1236d699a335..277c4d3d7c9d736c9cc48265987ec80518447314 100644
--- a/chrome/browser/dom_ui/options/autofill_options_handler.cc
+++ b/chrome/browser/dom_ui/options/autofill_options_handler.cc
@@ -315,6 +315,8 @@ void AutoFillOptionsHandler::LoadCreditCardEditor(const ListValue* args) {
credit_card_data->SetString(
"creditCardNumber",
credit_card->GetFieldText(AutoFillType(CREDIT_CARD_NUMBER)));
+ credit_card_data->SetString("obfuscatedCardNumber",
+ credit_card->ObfuscatedNumber());
credit_card_data->SetString(
"expirationMonth",
credit_card->GetFieldText(AutoFillType(CREDIT_CARD_EXP_MONTH)));
« no previous file with comments | « no previous file | chrome/browser/resources/options/autofill_edit_creditcard_overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698