OLD | NEW |
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 // Defines all the "media" command-line switches. | 5 // Defines all the "media" command-line switches. |
6 | 6 |
7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ | 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ |
8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ | 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ |
9 | 9 |
10 #include "base/feature_list.h" | 10 #include "base/feature_list.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; | 44 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
45 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 45 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
46 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 46 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
47 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 47 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
48 #endif | 48 #endif |
49 | 49 |
50 #if defined(USE_CRAS) | 50 #if defined(USE_CRAS) |
51 MEDIA_EXPORT extern const char kUseCras[]; | 51 MEDIA_EXPORT extern const char kUseCras[]; |
52 #endif | 52 #endif |
53 | 53 |
| 54 #if !defined(OS_ANDROID) |
| 55 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; |
| 56 #endif |
| 57 |
54 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[]; | 58 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[]; |
55 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; | 59 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; |
56 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[]; | 60 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[]; |
57 | 61 |
58 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; | 62 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; |
59 | 63 |
60 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; | 64 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; |
61 | 65 |
62 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; | 66 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; |
63 | 67 |
64 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; | 68 MEDIA_EXPORT extern const char kDisableRTCSmoothnessAlgorithm[]; |
65 | 69 |
66 } // namespace switches | 70 } // namespace switches |
67 | 71 |
68 namespace media { | 72 namespace media { |
69 | 73 |
70 // All features in alphabetical order. The features should be documented | 74 // All features in alphabetical order. The features should be documented |
71 // alongside the definition of their values in the .cc file. | 75 // alongside the definition of their values in the .cc file. |
72 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 76 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
73 | 77 |
74 } // namespace media | 78 } // namespace media |
75 | 79 |
76 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 80 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |