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

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

Issue 2773283002: media: Simplify CdmHostFile(s) (Closed)
Patch Set: media: Simplify CdmHostFile(s) 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 const char kEnableVp9InMp4[] = "enable-vp9-in-mp4"; 123 const char kEnableVp9InMp4[] = "enable-vp9-in-mp4";
124 124
125 // Force media player using SurfaceView instead of SurfaceTexture on Android. 125 // Force media player using SurfaceView instead of SurfaceTexture on Android.
126 const char kForceVideoOverlays[] = "force-video-overlays"; 126 const char kForceVideoOverlays[] = "force-video-overlays";
127 127
128 // Allows explicitly specifying MSE audio/video buffer sizes. 128 // Allows explicitly specifying MSE audio/video buffer sizes.
129 // Default values are 150M for video and 12M for audio. 129 // Default values are 150M for video and 12M for audio.
130 const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit"; 130 const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit";
131 const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit"; 131 const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit";
132 132
133 // By default, if any CDM host (including signature) file is missing, the CDM
134 // will not be called to verify the host. Enable this switch to ignore missing
135 // CDM host files. This can be used in tests.
136 const char kIgnoreMissingCdmHostFile[] = "ignore-missing-cdm-host-file";
137
138 } // namespace switches 133 } // namespace switches
139 134
140 namespace media { 135 namespace media {
141 136
142 #if defined(OS_WIN) 137 #if defined(OS_WIN)
143 // Enables video decode acceleration using the D3D11 video decoder api. 138 // Enables video decode acceleration using the D3D11 video decoder api.
144 // This is completely insecure - DO NOT USE except for testing. 139 // This is completely insecure - DO NOT USE except for testing.
145 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", 140 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
146 base::FEATURE_DISABLED_BY_DEFAULT}; 141 base::FEATURE_DISABLED_BY_DEFAULT};
147 142
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 199
205 // An experimental feature to enable persistent-license type support in MediaDrm 200 // An experimental feature to enable persistent-license type support in MediaDrm
206 // when using Encrypted Media Extensions (EME) API. 201 // when using Encrypted Media Extensions (EME) API.
207 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 202 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521
208 const base::Feature kMediaDrmPersistentLicense{ 203 const base::Feature kMediaDrmPersistentLicense{
209 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; 204 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT};
210 205
211 #endif 206 #endif
212 207
213 } // namespace media 208 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698