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

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..182738ca61fbc4d96862119b3d1769afae1de387 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 is only for automated protected media tests to prevent the
+ // prompt from stalling tests.
+ switches::kDisableInfobarForProtectedMediaIdentifierForDomain,
xhwang 2017/05/04 19:57:37 cool, I didn't know about this list.
+
NULL
};

Powered by Google App Engine
This is Rietveld 408576698