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

Unified Diff: media/base/media_switches.cc

Issue 2582463003: media: Verify CDM Host files (Closed)
Patch Set: Polished! 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
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 5299efe7794b19241204fbc1ecaf68ee281732eb..62cb76dbb367a6a1d51f6cf1c58379df6b39203e 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -126,6 +126,12 @@ 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, function
+// VerifyHostFiles() on the CDM will not be called. Enable this switch to ignore
+// missing CDM host files for testing purpose.
+const char kIgnoreMissingCdmHostFileForTesting[] =
+ "ignore-missing-cdm-host-file-for-testing";
+
} // namespace switches
namespace media {

Powered by Google App Engine
This is Rietveld 408576698