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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.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/options/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
index 08222e7a1bc01e2fa8da2e8417260e6d894b54d5..d7de5f4cae81fc783c84d699529bbb8b0221a7f8 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -969,7 +969,8 @@ void ContentSettingsHandler::UpdateMediaExceptionsView() {
}
void ContentSettingsHandler::UpdateMIDISysExExceptionsView() {
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableWebMIDI)) {
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableWebMIDI)) {
web_ui()->CallJavascriptFunction(
"ContentSettings.showExperimentalWebMIDISettings",
base::FundamentalValue(true));

Powered by Google App Engine
This is Rietveld 408576698