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

Unified Diff: chrome/browser/metrics/variations/variations_service_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
« no previous file with comments | « chrome/browser/media_galleries/media_folder_finder.cc ('k') | chrome/browser/net/async_dns_field_trial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/variations/variations_service_unittest.cc
diff --git a/chrome/browser/metrics/variations/variations_service_unittest.cc b/chrome/browser/metrics/variations/variations_service_unittest.cc
index 1b98cd16f6a38c9307efae6afd7ce4cb30d79d9b..17415729d3b1398960311aa50030da13a86ae8a2 100644
--- a/chrome/browser/metrics/variations/variations_service_unittest.cc
+++ b/chrome/browser/metrics/variations/variations_service_unittest.cc
@@ -243,18 +243,18 @@ TEST_F(VariationsServiceTest, GetVariationsServerURL) {
std::string value;
GURL url = VariationsService::GetVariationsServerURL(prefs, std::string());
- EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true));
+ EXPECT_TRUE(base::StartsWithASCII(url.spec(), default_variations_url, true));
EXPECT_FALSE(net::GetValueForKeyInQuery(url, "restrict", &value));
prefs_store.SetVariationsRestrictParameterPolicyValue("restricted");
url = VariationsService::GetVariationsServerURL(prefs, std::string());
- EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true));
+ EXPECT_TRUE(base::StartsWithASCII(url.spec(), default_variations_url, true));
EXPECT_TRUE(net::GetValueForKeyInQuery(url, "restrict", &value));
EXPECT_EQ("restricted", value);
// The override value should take precedence over what's in prefs.
url = VariationsService::GetVariationsServerURL(prefs, "override");
- EXPECT_TRUE(StartsWithASCII(url.spec(), default_variations_url, true));
+ EXPECT_TRUE(base::StartsWithASCII(url.spec(), default_variations_url, true));
EXPECT_TRUE(net::GetValueForKeyInQuery(url, "restrict", &value));
EXPECT_EQ("override", value);
}
« no previous file with comments | « chrome/browser/media_galleries/media_folder_finder.cc ('k') | chrome/browser/net/async_dns_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698