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

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

Issue 2582463003: media: Verify CDM Host files (Closed)
Patch Set: comments addressed Created 3 years, 11 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
« no previous file with comments | « media/base/media_switches.h ('k') | media/cdm/cdm_paths.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const char kEnableVp9InMp4[] = "enable-vp9-in-mp4"; 119 const char kEnableVp9InMp4[] = "enable-vp9-in-mp4";
120 120
121 // Force media player using SurfaceView instead of SurfaceTexture on Android. 121 // Force media player using SurfaceView instead of SurfaceTexture on Android.
122 const char kForceVideoOverlays[] = "force-video-overlays"; 122 const char kForceVideoOverlays[] = "force-video-overlays";
123 123
124 // Allows explicitly specifying MSE audio/video buffer sizes. 124 // Allows explicitly specifying MSE audio/video buffer sizes.
125 // Default values are 150M for video and 12M for audio. 125 // Default values are 150M for video and 12M for audio.
126 const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit"; 126 const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit";
127 const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit"; 127 const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit";
128 128
129 // By default, if any CDM host (including signature) file is missing, the CDM
130 // will not be called to verify the host. Enable this switch to ignore missing
131 // CDM host files. This can be used in tests.
132 const char kIgnoreMissingCdmHostFile[] = "ignore-missing-cdm-host-file";
133
129 } // namespace switches 134 } // namespace switches
130 135
131 namespace media { 136 namespace media {
132 137
133 #if defined(OS_WIN) 138 #if defined(OS_WIN)
134 // Enables video decode acceleration using the D3D11 video decoder api. 139 // Enables video decode acceleration using the D3D11 video decoder api.
135 // This is completely insecure - DO NOT USE except for testing. 140 // This is completely insecure - DO NOT USE except for testing.
136 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", 141 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
137 base::FEATURE_DISABLED_BY_DEFAULT}; 142 base::FEATURE_DISABLED_BY_DEFAULT};
138 143
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback. 191 // Replaces WPMA by the MediaPlayerRenderer for HLS and fallback playback.
187 const base::Feature kAndroidMediaPlayerRenderer{ 192 const base::Feature kAndroidMediaPlayerRenderer{
188 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT}; 193 "android-media-player-renderer", base::FEATURE_ENABLED_BY_DEFAULT};
189 194
190 // Lock the screen orientation when a video goes fullscreen. 195 // Lock the screen orientation when a video goes fullscreen.
191 const base::Feature kVideoFullscreenOrientationLock{ 196 const base::Feature kVideoFullscreenOrientationLock{
192 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT}; 197 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT};
193 #endif 198 #endif
194 199
195 } // namespace media 200 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/cdm/cdm_paths.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698