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

Unified Diff: components/autofill/browser/form_field_unittest.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_unittest.cc
diff --git a/components/autofill/browser/form_field_unittest.cc b/components/autofill/browser/form_field_unittest.cc
index b8994bc6881fb5d98090583c595edac48f240be5..f6b979e93751a2015574efe355aa42dcead551ca 100644
--- a/components/autofill/browser/form_field_unittest.cc
+++ b/components/autofill/browser/form_field_unittest.cc
@@ -13,14 +13,16 @@ TEST(FormFieldTest, Match) {
AutofillField field;
// Empty strings match.
- EXPECT_TRUE(FormField::Match(&field, string16(), FormField::MATCH_LABEL));
+ EXPECT_TRUE(FormField::Match(&field, base::string16(),
+ FormField::MATCH_LABEL));
// Empty pattern matches non-empty string.
field.label = ASCIIToUTF16("a");
- EXPECT_TRUE(FormField::Match(&field, string16(), FormField::MATCH_LABEL));
+ EXPECT_TRUE(FormField::Match(&field, base::string16(),
+ FormField::MATCH_LABEL));
// Strictly empty pattern matches empty string.
- field.label = string16();
+ field.label = base::string16();
EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"),
FormField::MATCH_LABEL));
@@ -30,7 +32,7 @@ TEST(FormFieldTest, Match) {
FormField::MATCH_LABEL));
// Non-empty pattern doesn't match empty string.
- field.label = string16();
+ field.label = base::string16();
EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"),
FormField::MATCH_LABEL));

Powered by Google App Engine
This is Rietveld 408576698