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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc

Issue 1220963005: Update base::StartsWith calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@starts_with
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/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc
index 5ba958251634a2b99c366673c7d38ef1470b6702..c066adcb8cc3c86501c2a574aa46a35ef4349d1a 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc
@@ -39,9 +39,10 @@ TEST_F(HomepageURLManifestTest, GetHomepageURL) {
// The Google Gallery URL ends with the id, which depends on the path, which
// can be different in testing, so we just check the part before id.
extension = LoadAndExpectSuccess("homepage_google_hosted.json");
- EXPECT_TRUE(base::StartsWithASCII(
+ EXPECT_TRUE(base::StartsWith(
extensions::ManifestURL::GetHomepageURL(extension.get()).spec(),
- "https://chrome.google.com/webstore/detail/", false));
+ "https://chrome.google.com/webstore/detail/",
+ base::CompareCase::INSENSITIVE_ASCII));
extension = LoadAndExpectSuccess("homepage_externally_hosted.json");
EXPECT_EQ(GURL(), extensions::ManifestURL::GetHomepageURL(extension.get()));

Powered by Google App Engine
This is Rietveld 408576698