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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "media/base/media_switches.h" | 6 #include "media/base/media_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Allow users to specify a custom buffer size for debugging purpose. | 10 // Allow users to specify a custom buffer size for debugging purpose. |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 // no effect. | 167 // no effect. |
168 const base::Feature kExternalClearKeyForTesting{ | 168 const base::Feature kExternalClearKeyForTesting{ |
169 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; | 169 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; |
170 | 170 |
171 #if defined(OS_ANDROID) | 171 #if defined(OS_ANDROID) |
172 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. | 172 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. |
173 const base::Feature kAndroidMediaPlayerRenderer{ | 173 const base::Feature kAndroidMediaPlayerRenderer{ |
174 "android-media-player-renderer", base::FEATURE_DISABLED_BY_DEFAULT}; | 174 "android-media-player-renderer", base::FEATURE_DISABLED_BY_DEFAULT}; |
175 #endif | 175 #endif |
176 | 176 |
| 177 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 178 // Enables to renderer and play back media on remote devices when the tab is |
| 179 // being mirrored and other conditions are met. |
| 180 const base::Feature kMediaRemoting{"media-remoting", |
| 181 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 182 #endif |
| 183 |
177 } // namespace media | 184 } // namespace media |
OLD | NEW |