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

Unified Diff: chrome/browser/ui/startup/bad_flags_prompt.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: chrome/browser/ui/startup/bad_flags_prompt.cc
diff --git a/chrome/browser/ui/startup/bad_flags_prompt.cc b/chrome/browser/ui/startup/bad_flags_prompt.cc
index 52eca334d8b96ac663fc7e0fefd47ec98e4a4a3f..af36969fbf47ed5d7f9ecc4fc2ffc177c889e2f7 100644
--- a/chrome/browser/ui/startup/bad_flags_prompt.cc
+++ b/chrome/browser/ui/startup/bad_flags_prompt.cc
@@ -27,6 +27,7 @@
#include "content/public/common/content_switches.h"
#include "extensions/common/switches.h"
#include "google_apis/gaia/gaia_switches.h"
+#include "media/base/media_switches.h"
#include "media/media_features.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
@@ -90,6 +91,10 @@ void ShowBadFlagsPrompt(Browser* browser) {
// getting the user's permission.
switches::kUseFakeUIForMediaStream,
+ // This flag allows sites to access protected media identifiers without
+ // getting the user's permission.
+ switches::kUnsafelyAllowProtectedMediaIdentifierForDomain,
+
NULL
};

Powered by Google App Engine
This is Rietveld 408576698