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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/media_switches.h ('k') | media/cdm/cdm_paths.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 5299efe7794b19241204fbc1ecaf68ee281732eb..30431d742dcd5fcc4f3041eb1c91d3a1bcb1f7e0 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -126,6 +126,11 @@ const char kForceVideoOverlays[] = "force-video-overlays";
const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit";
const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit";
+// By default, if any CDM host (including signature) file is missing, the CDM
+// will not be called to verify the host. Enable this switch to ignore missing
+// CDM host files. This can be used in tests.
+const char kIgnoreMissingCdmHostFile[] = "ignore-missing-cdm-host-file";
+
} // namespace switches
namespace media {
« 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