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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 namespace media { | 103 namespace media { |
104 | 104 |
105 // All features in alphabetical order. The features should be documented | 105 // All features in alphabetical order. The features should be documented |
106 // alongside the definition of their values in the .cc file. | 106 // alongside the definition of their values in the .cc file. |
107 | 107 |
108 MEDIA_EXPORT extern const base::Feature kBackgroundVideoPauseOptimization; | 108 MEDIA_EXPORT extern const base::Feature kBackgroundVideoPauseOptimization; |
109 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; | 109 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; |
110 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; | 110 MEDIA_EXPORT extern const base::Feature kExternalClearKeyForTesting; |
111 MEDIA_EXPORT extern const base::Feature kLowDelayVideoRenderingOnLiveStream; | 111 MEDIA_EXPORT extern const base::Feature kLowDelayVideoRenderingOnLiveStream; |
112 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; | 112 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; |
| 113 MEDIA_EXPORT extern const base::Feature kMojoCdm; |
113 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; | 114 MEDIA_EXPORT extern const base::Feature kNewAudioRenderingMixingStrategy; |
114 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline; | 115 MEDIA_EXPORT extern const base::Feature kNewRemotePlaybackPipeline; |
115 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; | 116 MEDIA_EXPORT extern const base::Feature kOverlayFullscreenVideo; |
116 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; | 117 MEDIA_EXPORT extern const base::Feature kResumeBackgroundVideo; |
117 MEDIA_EXPORT extern const base::Feature kSpecCompliantCanPlayThrough; | 118 MEDIA_EXPORT extern const base::Feature kSpecCompliantCanPlayThrough; |
118 MEDIA_EXPORT extern const base::Feature kUseAndroidOverlay; | 119 MEDIA_EXPORT extern const base::Feature kUseAndroidOverlay; |
119 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 120 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
120 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; | 121 MEDIA_EXPORT extern const base::Feature kVideoBlitColorAccuracy; |
121 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; | 122 MEDIA_EXPORT extern const base::Feature kVideoColorManagement; |
122 MEDIA_EXPORT extern const base::Feature kMediaEngagement; | 123 MEDIA_EXPORT extern const base::Feature kMediaEngagement; |
(...skipping 13 matching lines...) Expand all Loading... |
136 // autoplay policy. In other words, it will take into account the default policy | 137 // autoplay policy. In other words, it will take into account the default policy |
137 // if none is specified via the command line and options passed for testing. | 138 // if none is specified via the command line and options passed for testing. |
138 // Returns one of the possible autoplay policy switches from the | 139 // Returns one of the possible autoplay policy switches from the |
139 // switches::autoplay namespace. | 140 // switches::autoplay namespace. |
140 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( | 141 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( |
141 const base::CommandLine& command_line); | 142 const base::CommandLine& command_line); |
142 | 143 |
143 } // namespace media | 144 } // namespace media |
144 | 145 |
145 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 146 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |