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

Unified Diff: chrome/common/extensions/chrome_extensions_client.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/common/extensions/chrome_extensions_client.cc
diff --git a/chrome/common/extensions/chrome_extensions_client.cc b/chrome/common/extensions/chrome_extensions_client.cc
index 7d8860882faaa8ffb4cb15cb542dc48877cce620..1b07deb50d3d4c10408898b1c94e4e61dd25685e 100644
--- a/chrome/common/extensions/chrome_extensions_client.cc
+++ b/chrome/common/extensions/chrome_extensions_client.cc
@@ -367,8 +367,10 @@ bool ChromeExtensionsClient::IsBlacklistUpdateURL(const GURL& url) const {
// ExtensionUpdater ensures that we notice a change. This is the full URL
// of a blacklist:
// http://www.gstatic.com/chrome/extensions/blacklist/l_0_0_0_7.txt
- return StartsWithASCII(url.spec(), kExtensionBlocklistUrlPrefix, true) ||
- StartsWithASCII(url.spec(), kExtensionBlocklistHttpsUrlPrefix, true);
+ return base::StartsWithASCII(url.spec(), kExtensionBlocklistUrlPrefix,
+ true) ||
+ base::StartsWithASCII(url.spec(), kExtensionBlocklistHttpsUrlPrefix,
+ true);
}
std::set<base::FilePath> ChromeExtensionsClient::GetBrowserImagePaths(

Powered by Google App Engine
This is Rietveld 408576698