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

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

Issue 1838623002: Bring Audio Share and Tab Share Default On (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Three value flag for Tab Created 4 years, 9 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
« no previous file with comments | « chrome/browser/media/desktop_capture_access_handler.cc ('k') | content/public/browser/desktop_media_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/media_stream_manager.cc
diff --git a/content/browser/renderer_host/media/media_stream_manager.cc b/content/browser/renderer_host/media/media_stream_manager.cc
index de848929a7cbac61bf360ed16524e410dd408a50..69b0526aa2acf62fb3c59059e126b9553da750c9 100644
--- a/content/browser/renderer_host/media/media_stream_manager.cc
+++ b/content/browser/renderer_host/media/media_stream_manager.cc
@@ -98,8 +98,8 @@ void ParseStreamType(const StreamControls& controls,
*audio_type = MEDIA_NO_SERVICE;
*video_type = MEDIA_NO_SERVICE;
const bool audio_support_flag_for_desktop_share =
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableAudioSupportForDesktopShare);
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableAudioSupportForDesktopShare);
if (controls.audio.requested) {
if (!controls.audio.stream_source.empty()) {
// This is tab or screen capture.
« no previous file with comments | « chrome/browser/media/desktop_capture_access_handler.cc ('k') | content/public/browser/desktop_media_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698