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

Unified Diff: content/browser/media/media_source_browsertest.cc

Issue 2851453003: Revert of Rename kDisableGestureRequirementForMediaPlayback and make it a test-only flag. (Closed)
Patch Set: 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: content/browser/media/media_source_browsertest.cc
diff --git a/content/browser/media/media_source_browsertest.cc b/content/browser/media/media_source_browsertest.cc
index 0070da5c096c0e8cde3c841f0a12eedfd18fabcd..127c12599c2eab08fe3bf271dd656b7fb6f0547f 100644
--- a/content/browser/media/media_source_browsertest.cc
+++ b/content/browser/media/media_source_browsertest.cc
@@ -5,7 +5,7 @@
#include "base/command_line.h"
#include "build/build_config.h"
#include "content/browser/media/media_browsertest.h"
-#include "media/base/media_switches.h"
+#include "content/public/common/content_switches.h"
#include "media/media_features.h"
#if defined(OS_ANDROID)
@@ -44,7 +44,8 @@
}
void SetUpCommandLine(base::CommandLine* command_line) override {
- command_line->AppendSwitch(switches::kIgnoreAutoplayRestrictionsForTests);
+ command_line->AppendSwitch(
+ switches::kDisableGestureRequirementForMediaPlayback);
}
};
« no previous file with comments | « content/browser/media/media_browsertest.cc ('k') | content/browser/media/session/media_session_impl_visibility_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698