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

Unified Diff: chrome/browser/media/defer_background_media_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
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | chrome/browser/media/encrypted_media_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/defer_background_media_browsertest.cc
diff --git a/chrome/browser/media/defer_background_media_browsertest.cc b/chrome/browser/media/defer_background_media_browsertest.cc
index a5b014a6c3bdd2e0be50568b97228b89f10f557a..e6b4dd1a9ce4dc3161016f04c62033f82a3e30a5 100644
--- a/chrome/browser/media/defer_background_media_browsertest.cc
+++ b/chrome/browser/media/defer_background_media_browsertest.cc
@@ -9,15 +9,16 @@
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
+#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test_utils.h"
-#include "media/base/media_switches.h"
#include "media/base/test_data_util.h"
class DeferredMediaBrowserTest : public InProcessBrowserTest {
public:
#if defined(OS_ANDROID)
void SetUpCommandLine(base::CommandLine* command_line) override {
- command_line->AppendSwitch(switches::kIgnoreAutoplayRestrictionsForTests);
+ command_line->AppendSwitch(
+ switches::kDisableGestureRequirementForMediaPlayback);
}
#endif
};
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | chrome/browser/media/encrypted_media_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698