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

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

Issue 2840813002: Media Engagement: implement shell of the media engagement service. (Closed)
Patch Set: Created 3 years, 8 months 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 #include "ppapi/features/features.h" 7 #include "ppapi/features/features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Inform video blitter of video color space. 194 // Inform video blitter of video color space.
195 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", 195 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
196 base::FEATURE_DISABLED_BY_DEFAULT}; 196 base::FEATURE_DISABLED_BY_DEFAULT};
197 197
198 // Enables support for External Clear Key (ECK) key system for testing on 198 // Enables support for External Clear Key (ECK) key system for testing on
199 // supported platforms. On platforms that do not support ECK, this feature has 199 // supported platforms. On platforms that do not support ECK, this feature has
200 // no effect. 200 // no effect.
201 const base::Feature kExternalClearKeyForTesting{ 201 const base::Feature kExternalClearKeyForTesting{
202 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; 202 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT};
203 203
204 // Enables Media Engagement Index recording in order to by-pass autoplay
DaleCurtis 2017/04/25 16:58:00 bypass
mlamouri (slow - plz ping) 2017/04/25 17:14:41 Done.
205 // policies.
206 const base::Feature kMediaEngagement{"media-engagement",
207 base::FEATURE_DISABLED_BY_DEFAULT};
208
204 #if defined(OS_ANDROID) 209 #if defined(OS_ANDROID)
205 // Lock the screen orientation when a video goes fullscreen. 210 // Lock the screen orientation when a video goes fullscreen.
206 const base::Feature kVideoFullscreenOrientationLock{ 211 const base::Feature kVideoFullscreenOrientationLock{
207 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT}; 212 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT};
208 213
209 // An experimental feature to enable persistent-license type support in MediaDrm 214 // An experimental feature to enable persistent-license type support in MediaDrm
210 // when using Encrypted Media Extensions (EME) API. 215 // when using Encrypted Media Extensions (EME) API.
211 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 216 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521
212 const base::Feature kMediaDrmPersistentLicense{ 217 const base::Feature kMediaDrmPersistentLicense{
213 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; 218 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT};
214 219
215 #endif 220 #endif
216 221
217 } // namespace media 222 } // namespace media
OLDNEW
« chrome/browser/media/media_engagement_service_factory.h ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698