| 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 25 matching lines...) Expand all Loading... |
| 36 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; | 36 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
| 37 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 37 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
| 38 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 38 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
| 39 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 39 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 #if defined(USE_CRAS) | 42 #if defined(USE_CRAS) |
| 43 MEDIA_EXPORT extern const char kUseCras[]; | 43 MEDIA_EXPORT extern const char kUseCras[]; |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 MEDIA_EXPORT extern const char |
| 47 kUnsafelyAllowProtectedMediaIdentifierForDomain[]; |
| 48 |
| 46 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) | 49 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
| 47 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; | 50 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; |
| 48 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) | 51 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
| 49 | 52 |
| 50 #if BUILDFLAG(ENABLE_PLUGINS) | 53 #if BUILDFLAG(ENABLE_PLUGINS) |
| 51 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[]; | 54 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[]; |
| 52 #endif // BUILDFLAG(ENABLE_PLUGINS) | 55 #endif // BUILDFLAG(ENABLE_PLUGINS) |
| 53 | 56 |
| 54 #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) | 57 #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) |
| 55 MEDIA_EXPORT extern const char kDisableMojoRenderer[]; | 58 MEDIA_EXPORT extern const char kDisableMojoRenderer[]; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; | 102 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; |
| 100 | 103 |
| 101 #if defined(OS_ANDROID) | 104 #if defined(OS_ANDROID) |
| 102 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; | 105 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; |
| 103 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; | 106 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; |
| 104 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; | 107 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; |
| 105 #endif // defined(OS_ANDROID) | 108 #endif // defined(OS_ANDROID) |
| 106 } // namespace media | 109 } // namespace media |
| 107 | 110 |
| 108 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 111 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |