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

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

Issue 13973004: Convert string16 -> base::string16 in components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: components/autofill/browser/credit_card_field.cc
diff --git a/components/autofill/browser/credit_card_field.cc b/components/autofill/browser/credit_card_field.cc
index 8baa9f1b519bdfa6d370ebed3b211c8ed12f674d..9d68d98b620b5a6ce15ef992bbb5f9f39bf40101 100644
--- a/components/autofill/browser/credit_card_field.cc
+++ b/components/autofill/browser/credit_card_field.cc
@@ -40,7 +40,7 @@ FormField* CreditCardField::Parse(AutofillScanner* scanner) {
// credit card field and haven't yet parsed the expiration date (which
// usually appears at the end).
if (credit_card_field->cardholder_ == NULL) {
- string16 name_pattern;
+ base::string16 name_pattern;
if (fields == 0 || credit_card_field->expiration_month_) {
// at beginning or end
name_pattern = UTF8ToUTF16(autofill::kNameOnCardRe);
@@ -67,7 +67,7 @@ FormField* CreditCardField::Parse(AutofillScanner* scanner) {
}
// Check for a credit card type (Visa, MasterCard, etc.) field.
- string16 type_pattern = UTF8ToUTF16(autofill::kCardTypeRe);
+ base::string16 type_pattern = UTF8ToUTF16(autofill::kCardTypeRe);
if (!credit_card_field->type_ &&
ParseFieldSpecifics(scanner, type_pattern,
MATCH_DEFAULT | MATCH_SELECT,
@@ -80,7 +80,7 @@ FormField* CreditCardField::Parse(AutofillScanner* scanner) {
// has a plethora of names; we've seen "verification #",
// "verification number", "card identification number" and others listed
// in the |pattern| below.
- string16 pattern = UTF8ToUTF16(autofill::kCardCvcRe);
+ base::string16 pattern = UTF8ToUTF16(autofill::kCardCvcRe);
if (!credit_card_field->verification_ &&
ParseField(scanner, pattern, &credit_card_field->verification_)) {
continue;

Powered by Google App Engine
This is Rietveld 408576698