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

Unified Diff: components/autofill/core/browser/credit_card_field.cc

Issue 2819183004: [Autofill] Change MasterCard to Mastercard in UI and related tests (Closed)
Patch Set: Resolved conflict Created 3 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
Index: components/autofill/core/browser/credit_card_field.cc
diff --git a/components/autofill/core/browser/credit_card_field.cc b/components/autofill/core/browser/credit_card_field.cc
index 468e1f60e136b6c9a054c7b8599611610f89283b..6f69101e4260c29be396bf3c63e5fe2a9adf23ef 100644
--- a/components/autofill/core/browser/credit_card_field.cc
+++ b/components/autofill/core/browser/credit_card_field.cc
@@ -126,7 +126,7 @@ std::unique_ptr<FormField> CreditCardField::Parse(AutofillScanner* scanner) {
}
}
- // Check for a credit card type (Visa, MasterCard, etc.) field.
+ // Check for a credit card type (Visa, Mastercard, etc.) field.
// All CC type fields encountered so far have been of type select.
if (!credit_card_field->type_ && LikelyCardTypeSelectField(scanner)) {
credit_card_field->type_ = scanner->Cursor();
@@ -312,7 +312,7 @@ bool CreditCardField::LikelyCardTypeSelectField(AutofillScanner* scanner) {
return false;
// We set |ignore_whitespace| to true on these calls because this is actually
- // a pretty common mistake; e.g., "Master Card" instead of "MasterCard".
+ // a pretty common mistake; e.g., "Master card" instead of "Mastercard".
bool isSelect = (AutofillField::FindShortestSubstringMatchInSelect(
l10n_util::GetStringUTF16(IDS_AUTOFILL_CC_VISA), true,
field) >= 0) ||
« no previous file with comments | « components/autofill/core/browser/credit_card.cc ('k') | components/autofill/core/browser/credit_card_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698