Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: media/base/media_switches.cc

Issue 2470003002: Media Remoting: Add feature to control enabling Media Remoting. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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};
xhwang 2016/11/02 05:18:39 Can we disable it by default for now and only enab
xjz 2016/11/02 17:48:05 +miu WDYT?
182 #endif
183
177 } // namespace media 184 } // namespace media
OLDNEW
« content/renderer/render_frame_impl.cc ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698