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

Side by Side Diff: media/base/media_switches.cc

Issue 1698933004: Make MediaSession a runtime-enabled feature on Desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « media/base/media_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "media/base/media_switches.h" 6 #include "media/base/media_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // Allow users to specify a custom buffer size for debugging purpose. 10 // Allow users to specify a custom buffer size for debugging purpose.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // Number of buffers to use for WaveOut. 85 // Number of buffers to use for WaveOut.
86 const char kWaveOutBuffers[] = "waveout-buffers"; 86 const char kWaveOutBuffers[] = "waveout-buffers";
87 #endif 87 #endif
88 88
89 #if defined(USE_CRAS) 89 #if defined(USE_CRAS)
90 // Use CRAS, the ChromeOS audio server. 90 // Use CRAS, the ChromeOS audio server.
91 const char kUseCras[] = "use-cras"; 91 const char kUseCras[] = "use-cras";
92 #endif 92 #endif
93 93
94 #if !defined(OS_ANDROID)
95 // Use a media session for each tabs in a way that two tabs can't play on top of
96 // each other. This is different from the Media Session API as it is enabling a
97 // default behaviour for the browser.
98 const char kEnableDefaultMediaSession[] = "enable-default-media-session";
99 #endif
100
94 // Use fake device for Media Stream to replace actual camera and microphone. 101 // Use fake device for Media Stream to replace actual camera and microphone.
95 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 102 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
96 103
97 // Use an .y4m file to play as the webcam. See the comments in 104 // Use an .y4m file to play as the webcam. See the comments in
98 // media/capture/video/file_video_capture_device.h for more details. 105 // media/capture/video/file_video_capture_device.h for more details.
99 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; 106 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture";
100 107
101 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat 108 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat
102 // the bits as if they came from the microphone, which means you should disable 109 // the bits as if they came from the microphone, which means you should disable
103 // audio processing (lest your audio file will play back distorted). The input 110 // audio processing (lest your audio file will play back distorted). The input
(...skipping 21 matching lines...) Expand all
125 132
126 } // namespace switches 133 } // namespace switches
127 134
128 namespace media { 135 namespace media {
129 136
130 // Use shared block-based buffering for media. 137 // Use shared block-based buffering for media.
131 const base::Feature kUseNewMediaCache{"use-new-media-cache", 138 const base::Feature kUseNewMediaCache{"use-new-media-cache",
132 base::FEATURE_DISABLED_BY_DEFAULT}; 139 base::FEATURE_DISABLED_BY_DEFAULT};
133 140
134 } // namespace media 141 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698