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

Unified Diff: extensions/browser/api/web_request/web_request_api.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: extensions/browser/api/web_request/web_request_api.cc
diff --git a/extensions/browser/api/web_request/web_request_api.cc b/extensions/browser/api/web_request/web_request_api.cc
index 836cae30b30b683eaae41e98c64a865e55511a81..082e3ef94d1bcba9baeac9ad7dc5d201c5e04185 100644
--- a/extensions/browser/api/web_request/web_request_api.cc
+++ b/extensions/browser/api/web_request/web_request_api.cc
@@ -137,8 +137,8 @@ int GetFrameId(bool is_main_frame, int frame_id) {
bool IsWebRequestEvent(const std::string& event_name) {
std::string web_request_event_name(event_name);
- if (StartsWithASCII(
- web_request_event_name, webview::kWebViewEventPrefix, true)) {
+ if (base::StartsWithASCII(web_request_event_name,
+ webview::kWebViewEventPrefix, true)) {
web_request_event_name.replace(
0, strlen(webview::kWebViewEventPrefix), kWebRequestEventPrefix);
}

Powered by Google App Engine
This is Rietveld 408576698