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

Unified Diff: media/base/media_switches.cc

Issue 2816773002: Added switch for bypassing protected media identifier permission (Closed)
Patch Set: Added switch for bypassing permissions Created 3 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: 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
« chrome/browser/ui/startup/bad_flags_prompt.cc ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698