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