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

Unified Diff: content/browser/renderer_host/media/media_stream_ui_proxy.cc

Issue 803813003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/renderer_host/media/media_stream_ui_proxy.cc
diff --git a/content/browser/renderer_host/media/media_stream_ui_proxy.cc b/content/browser/renderer_host/media/media_stream_ui_proxy.cc
index d6d827540a6c1d0ca142a0e8bb9d72cea2bb79b6..837ef9a52f44fa97f636d5ddf1810cb0c3164a28 100644
--- a/content/browser/renderer_host/media/media_stream_ui_proxy.cc
+++ b/content/browser/renderer_host/media/media_stream_ui_proxy.cc
@@ -268,8 +268,8 @@ void FakeMediaStreamUIProxy::RequestAccess(
response_callback_ = response_callback;
- if (CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- switches::kUseFakeUIForMediaStream) == "deny") {
+ if (base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
+ switches::kUseFakeUIForMediaStream) == "deny") {
// Immediately deny the request.
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
@@ -332,8 +332,8 @@ void FakeMediaStreamUIProxy::CheckAccess(
type == MEDIA_DEVICE_VIDEO_CAPTURE);
bool have_access = false;
- if (CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- switches::kUseFakeUIForMediaStream) != "deny") {
+ if (base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
+ switches::kUseFakeUIForMediaStream) != "deny") {
have_access =
type == MEDIA_DEVICE_AUDIO_CAPTURE ? mic_access_ : camera_access_;
}

Powered by Google App Engine
This is Rietveld 408576698