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

Unified Diff: android_webview/native/android_protocol_handler.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 | « no previous file | android_webview/native/aw_media_url_interceptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/android_protocol_handler.cc
diff --git a/android_webview/native/android_protocol_handler.cc b/android_webview/native/android_protocol_handler.cc
index c80d9bd41ae0e47e05f67d2cd4420dc589f07e27..aaadb14cc2bffdf3007ce0712152fcd716a6ca5d 100644
--- a/android_webview/native/android_protocol_handler.cc
+++ b/android_webview/native/android_protocol_handler.cc
@@ -252,8 +252,8 @@ bool AssetFileRequestInterceptor::ShouldHandleRequest(
return false;
const std::string& url = request->url().spec();
- if (!StartsWithASCII(url, asset_prefix_, /*case_sensitive=*/ true) &&
- !StartsWithASCII(url, resource_prefix_, /*case_sensitive=*/ true)) {
+ if (!base::StartsWithASCII(url, asset_prefix_, /*case_sensitive=*/ true) &&
+ !base::StartsWithASCII(url, resource_prefix_, /*case_sensitive=*/ true)) {
return false;
}
« no previous file with comments | « no previous file | android_webview/native/aw_media_url_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698