Index: media/base/media_switches.cc |
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc |
index 28e749dc8dbc8cbb2ae6cb3776e349355adfc14b..5b24a61bef256b8524f68727ccd4a64fd6d523e7 100644 |
--- a/media/base/media_switches.cc |
+++ b/media/base/media_switches.cc |
@@ -64,6 +64,12 @@ const char kWaveOutBuffers[] = "waveout-buffers"; |
const char kUseCras[] = "use-cras"; |
#endif |
+// For automated testing of protected content, this switch will allow specific |
+// domains to bypass the protected media identifier request prompt. This flag |
xhwang
2017/05/04 19:57:37
nit: s/request/permission
Vaage
2017/05/04 21:41:20
Done.
|
+// will have no effect if user-data-dir is not enabled. |
Joey Parrish
2017/05/04 18:04:35
nit: "set", rather than "enabled". user-data-dir
Vaage
2017/05/04 18:06:15
Done.
xhwang
2017/05/04 19:57:38
Please add an example how to use this, something s
Vaage
2017/05/04 21:41:20
Done.
|
+const char kDisableInfobarForProtectedMediaIdentifierForDomain[] = |
+ "disable-infobar-for-protected-media-identifier-for-domain"; |
+ |
#if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) |
// Use a media session for each tabs in a way that two tabs can't play on top of |
// each other. This is different from the Media Session API as it is enabling a |