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

Unified Diff: components/autofill/browser/form_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/form_field.cc
diff --git a/components/autofill/browser/form_field.cc b/components/autofill/browser/form_field.cc
index 2c1c5da8741f56c1cdd9a00feb3577e2f868da0e..348b060c1d4eb5315afabaae9b828a16ecb84a4e 100644
--- a/components/autofill/browser/form_field.cc
+++ b/components/autofill/browser/form_field.cc
@@ -82,14 +82,14 @@ void FormField::ParseFormFields(const std::vector<AutofillField*>& fields,
// static
bool FormField::ParseField(AutofillScanner* scanner,
- const string16& pattern,
+ const base::string16& pattern,
const AutofillField** match) {
return ParseFieldSpecifics(scanner, pattern, MATCH_DEFAULT, match);
}
// static
bool FormField::ParseFieldSpecifics(AutofillScanner* scanner,
- const string16& pattern,
+ const base::string16& pattern,
int match_type,
const AutofillField** match) {
if (scanner->IsEnd())
@@ -136,7 +136,7 @@ bool FormField::AddClassification(const AutofillField* field,
// static.
bool FormField::MatchAndAdvance(AutofillScanner* scanner,
- const string16& pattern,
+ const base::string16& pattern,
int match_type,
const AutofillField** match) {
const AutofillField* field = scanner->Cursor();
@@ -152,7 +152,7 @@ bool FormField::MatchAndAdvance(AutofillScanner* scanner,
// static
bool FormField::Match(const AutofillField* field,
- const string16& pattern,
+ const base::string16& pattern,
int match_type) {
if ((match_type & FormField::MATCH_LABEL) &&
autofill::MatchesPattern(field->label, pattern)) {

Powered by Google App Engine
This is Rietveld 408576698