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

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, 8 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..7fe9b7f0f1c7a6b718d863fd3a32ffbd941d3905 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -64,6 +64,11 @@ 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.
Joey Parrish 2017/05/04 17:06:15 Probably good to mention here that user-data-dir m
Vaage 2017/05/04 17:42:30 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

Powered by Google App Engine
This is Rietveld 408576698