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

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

Issue 1163693004: [Autofill] Update user-facing strings for server cards (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/content/browser/wallet/wallet_address.cc ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/wallet/wallet_items.cc
diff --git a/components/autofill/content/browser/wallet/wallet_items.cc b/components/autofill/content/browser/wallet/wallet_items.cc
index 1bace885444935b2964aea86cff36a61af09ba9c..c660277a5b36972e6e1c02913a354175116fec3c 100644
--- a/components/autofill/content/browser/wallet/wallet_items.cc
+++ b/components/autofill/content/browser/wallet/wallet_items.cc
@@ -128,13 +128,13 @@ scoped_ptr<WalletItems::MaskedInstrument>
if (dictionary.GetString("type", &type_string)) {
type = TypeFromString(type_string);
} else {
- DLOG(ERROR) << "Response from Google Wallet missing card type";
+ DLOG(ERROR) << "Response from Google Payments missing card type";
Evan Stade 2015/05/29 19:34:26 it is arguable whether these are user-facing but I
please use gerrit instead 2015/05/29 19:37:52 Acknowledged.
return scoped_ptr<MaskedInstrument>();
}
base::string16 last_four_digits;
if (!dictionary.GetString("last_four_digits", &last_four_digits)) {
- DLOG(ERROR) << "Response from Google Wallet missing last four digits";
+ DLOG(ERROR) << "Response from Google Payments missing last four digits";
return scoped_ptr<MaskedInstrument>();
}
@@ -143,13 +143,13 @@ scoped_ptr<WalletItems::MaskedInstrument>
if (dictionary.GetString("status", &status_string)) {
status = StatusFromString(status_string);
} else {
- DLOG(ERROR) << "Response from Google Wallet missing status";
+ DLOG(ERROR) << "Response from Google Payments missing status";
return scoped_ptr<MaskedInstrument>();
}
std::string object_id;
if (!dictionary.GetString("object_id", &object_id)) {
- DLOG(ERROR) << "Response from Google Wallet missing object id";
+ DLOG(ERROR) << "Response from Google Payments missing object id";
return scoped_ptr<MaskedInstrument>();
}
@@ -167,15 +167,15 @@ scoped_ptr<WalletItems::MaskedInstrument>
int expiration_month;
if (!dictionary.GetInteger("expiration_month", &expiration_month))
- DVLOG(1) << "Response from Google Wallet missing expiration month";
+ DVLOG(1) << "Response from Google Payments missing expiration month";
int expiration_year;
if (!dictionary.GetInteger("expiration_year", &expiration_year))
- DVLOG(1) << "Response from Google Wallet missing expiration year";
+ DVLOG(1) << "Response from Google Payments missing expiration year";
base::string16 descriptive_name;
if (!dictionary.GetString("descriptive_name", &descriptive_name))
- DVLOG(1) << "Response from Google Wallet missing descriptive name";
+ DVLOG(1) << "Response from Google Payments missing descriptive name";
return scoped_ptr<MaskedInstrument>(new MaskedInstrument(descriptive_name,
type,
@@ -362,19 +362,19 @@ scoped_ptr<WalletItems::LegalDocument>
const base::DictionaryValue& dictionary) {
std::string id;
if (!dictionary.GetString("legal_document_id", &id)) {
- DLOG(ERROR) << "Response from Google Wallet missing legal document id";
+ DLOG(ERROR) << "Response from Google Payments missing legal document id";
return scoped_ptr<LegalDocument>();
}
base::string16 display_name;
if (!dictionary.GetString("display_name", &display_name)) {
- DLOG(ERROR) << "Response from Google Wallet missing display name";
+ DLOG(ERROR) << "Response from Google Payments missing display name";
return scoped_ptr<LegalDocument>();
}
std::string url;
if (!dictionary.GetString("url", &url)) {
- DLOG(ERROR) << "Response from Google Wallet missing URL";
+ DLOG(ERROR) << "Response from Google Payments missing URL";
return scoped_ptr<LegalDocument>();
}
« no previous file with comments | « components/autofill/content/browser/wallet/wallet_address.cc ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698