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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger Created 5 years, 6 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: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
index b19fdee3b505930420e59fa9ae3fb7d952c3c21f..6ac5712a8d0d1c6596a32928665a348c256e5d23 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
@@ -1398,15 +1398,15 @@ TEST_F(AutofillDialogControllerTest, BillingVsShippingStreetAddress) {
EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(1)->Type().group());
// Inexact matching; single-line inputs get the address data concatenated but
// separated by commas.
- EXPECT_TRUE(StartsWith(form_structure()->field(0)->value,
- shipping_profile.GetRawInfo(ADDRESS_HOME_LINE1),
- true));
+ EXPECT_TRUE(base::StartsWith(form_structure()->field(0)->value,
+ shipping_profile.GetRawInfo(ADDRESS_HOME_LINE1),
+ true));
EXPECT_TRUE(EndsWith(form_structure()->field(0)->value,
shipping_profile.GetRawInfo(ADDRESS_HOME_LINE2),
true));
- EXPECT_TRUE(StartsWith(form_structure()->field(1)->value,
- billing_profile.GetRawInfo(ADDRESS_HOME_LINE1),
- true));
+ EXPECT_TRUE(base::StartsWith(form_structure()->field(1)->value,
+ billing_profile.GetRawInfo(ADDRESS_HOME_LINE1),
+ true));
EXPECT_TRUE(EndsWith(form_structure()->field(1)->value,
billing_profile.GetRawInfo(ADDRESS_HOME_LINE2),
true));
« no previous file with comments | « chrome/browser/ui/app_list/search/search_controller_factory.cc ('k') | chrome/browser/ui/browser_navigator_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698