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, |
+ |
NULL |
}; |