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

Unified Diff: chrome/browser/ui/webui/devtools_ui.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/browser/ui/webui/devtools_ui.cc
diff --git a/chrome/browser/ui/webui/devtools_ui.cc b/chrome/browser/ui/webui/devtools_ui.cc
index 4360cf1af4506832dfb4102b1a8819cc754ed4c6..e80b772f8d5a85e106ce71acece3d94e2e8b0831 100644
--- a/chrome/browser/ui/webui/devtools_ui.cc
+++ b/chrome/browser/ui/webui/devtools_ui.cc
@@ -143,7 +143,7 @@ void DevToolsDataSource::StartDataRequest(
// Serve request from local bundle.
std::string bundled_path_prefix(chrome::kChromeUIDevToolsBundledPath);
bundled_path_prefix += "/";
- if (StartsWithASCII(path, bundled_path_prefix, false)) {
+ if (base::StartsWithASCII(path, bundled_path_prefix, false)) {
StartBundledDataRequest(path.substr(bundled_path_prefix.length()),
render_process_id, render_frame_id, callback);
return;
@@ -152,7 +152,7 @@ void DevToolsDataSource::StartDataRequest(
// Serve request from remote location.
std::string remote_path_prefix(chrome::kChromeUIDevToolsRemotePath);
remote_path_prefix += "/";
- if (StartsWithASCII(path, remote_path_prefix, false)) {
+ if (base::StartsWithASCII(path, remote_path_prefix, false)) {
StartRemoteDataRequest(path.substr(remote_path_prefix.length()),
render_process_id, render_frame_id, callback);
return;

Powered by Google App Engine
This is Rietveld 408576698