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

Unified Diff: content/public/common/content_switches.cc

Issue 15383003: Rename switch to disable prefixed Encrypted Media APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase only Created 7 years, 7 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: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 2e70d7043b2ab9709f1ec0f624ae1f228f88ccc0..d887015b3258de4b06f9c85ecc6cee257da62f48 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -341,6 +341,12 @@ const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking";
// builds.
const char kEnableLogging[] = "enable-logging";
+// Enables support for Encrypted Media Extensions (e.g. MediaKeys).
+const char kEnableEncryptedMedia[] = "enable-encrypted-media";
+
+// Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()).
+const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media";
+
// Disable prefixed Media Source API (i.e., the WebKitMediaSource object).
const char kDisableWebKitMediaSource[] = "disable-webkit-media-source";

Powered by Google App Engine
This is Rietveld 408576698