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

Unified Diff: components/suggestions/suggestions_service.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: components/suggestions/suggestions_service.cc
diff --git a/components/suggestions/suggestions_service.cc b/components/suggestions/suggestions_service.cc
index dde38a1ff6fe316d22a42a8ac50132f9fa9ff194..f8f139885745ee3ff88bcab769bf984f45cdfaba 100644
--- a/components/suggestions/suggestions_service.cc
+++ b/components/suggestions/suggestions_service.cc
@@ -178,9 +178,8 @@ void SuggestionsService::UndoBlacklistURL(
// static
bool SuggestionsService::GetBlacklistedUrl(const net::URLFetcher& request,
GURL* url) {
- bool is_blacklist_request = StartsWithASCII(request.GetOriginalURL().spec(),
- kSuggestionsBlacklistURLPrefix,
- true);
+ bool is_blacklist_request = base::StartsWithASCII(
+ request.GetOriginalURL().spec(), kSuggestionsBlacklistURLPrefix, true);
if (!is_blacklist_request) return false;
// Extract the blacklisted URL from the blacklist request.

Powered by Google App Engine
This is Rietveld 408576698