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" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
| 13 #include "media/media_features.h" |
13 | 14 |
14 namespace switches { | 15 namespace switches { |
15 | 16 |
16 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 17 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
17 | 18 |
18 MEDIA_EXPORT extern const char kVideoThreads[]; | 19 MEDIA_EXPORT extern const char kVideoThreads[]; |
19 | 20 |
20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; | 21 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; |
21 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; | 22 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; |
22 | 23 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; | 85 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; |
85 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; | 86 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; |
86 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; | 87 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; |
87 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 88 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
88 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; | 89 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; |
89 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; | 90 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; |
90 | 91 |
91 #if defined(OS_ANDROID) | 92 #if defined(OS_ANDROID) |
92 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; | 93 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; |
93 #endif // defined(OS_ANDROID) | 94 #endif // defined(OS_ANDROID) |
| 95 |
| 96 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 97 MEDIA_EXPORT extern const base::Feature kMediaRemoting; |
| 98 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 99 |
94 } // namespace media | 100 } // namespace media |
95 | 101 |
96 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 102 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |