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

Unified Diff: chrome/browser/ui/webui/devtools_ui.cc

Issue 816403003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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 1bf767ed2da7eca0080b40b2cb4b2ade44af5e6d..6769e9ef422a74993a127ca93bf5c1e2520b8934 100644
--- a/chrome/browser/ui/webui/devtools_ui.cc
+++ b/chrome/browser/ui/webui/devtools_ui.cc
@@ -191,7 +191,7 @@ void DevToolsDataSource::StartDataRequest(
// Serve static response while connecting to the remote device.
if (StartsWithASCII(path, kRemoteOpenPrefix, false)) {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableDevToolsExperiments)) {
callback.Run(NULL);
return;
@@ -377,8 +377,8 @@ DevToolsUI::~DevToolsUI() {
void DevToolsUI::NavigationEntryCommitted(
const content::LoadCommittedDetails& load_details) {
content::NavigationEntry* entry = load_details.entry;
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableDevToolsExperiments)) {
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableDevToolsExperiments)) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698