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

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

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 6ac5712a8d0d1c6596a32928665a348c256e5d23..b964308d93e5a3f7d5bc1ff9f71cb2ea9f356bd8 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
@@ -1401,15 +1401,15 @@ TEST_F(AutofillDialogControllerTest, BillingVsShippingStreetAddress) {
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(base::EndsWith(form_structure()->field(0)->value,
+ shipping_profile.GetRawInfo(ADDRESS_HOME_LINE2),
+ 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));
+ EXPECT_TRUE(base::EndsWith(form_structure()->field(1)->value,
+ billing_profile.GetRawInfo(ADDRESS_HOME_LINE2),
+ true));
// The textareas should be an exact match.
EXPECT_EQ(shipping_profile.GetRawInfo(ADDRESS_HOME_STREET_ADDRESS),
form_structure()->field(2)->value);
« no previous file with comments | « chrome/browser/sync/test/integration/bookmarks_helper.cc ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698