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 27 matching lines...) Expand all Loading... |
38 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; | 38 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
39 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 39 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
40 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 40 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
41 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 41 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
42 #endif | 42 #endif |
43 | 43 |
44 #if defined(USE_CRAS) | 44 #if defined(USE_CRAS) |
45 MEDIA_EXPORT extern const char kUseCras[]; | 45 MEDIA_EXPORT extern const char kUseCras[]; |
46 #endif | 46 #endif |
47 | 47 |
| 48 MEDIA_EXPORT extern const char |
| 49 kUnsafelyAllowProtectedMediaIdentifierForDomain[]; |
| 50 |
48 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) | 51 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
49 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; | 52 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; |
50 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) | 53 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
51 | 54 |
52 #if BUILDFLAG(ENABLE_PLUGINS) | 55 #if BUILDFLAG(ENABLE_PLUGINS) |
53 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[]; | 56 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[]; |
54 #endif // BUILDFLAG(ENABLE_PLUGINS) | 57 #endif // BUILDFLAG(ENABLE_PLUGINS) |
55 | 58 |
56 #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) | 59 #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) |
57 MEDIA_EXPORT extern const char kDisableMojoRenderer[]; | 60 MEDIA_EXPORT extern const char kDisableMojoRenderer[]; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 #endif // defined(OS_ANDROID) | 119 #endif // defined(OS_ANDROID) |
117 | 120 |
118 #if defined(OS_WIN) | 121 #if defined(OS_WIN) |
119 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; | 122 MEDIA_EXPORT extern const base::Feature kD3D11VideoDecoding; |
120 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; | 123 MEDIA_EXPORT extern const base::Feature kMediaFoundationH264Encoding; |
121 #endif // defined(OS_WIN) | 124 #endif // defined(OS_WIN) |
122 | 125 |
123 } // namespace media | 126 } // namespace media |
124 | 127 |
125 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 128 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |