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

Unified Diff: chrome/browser/media/encrypted_media_browsertest.cc

Issue 453023002: Revert of Enable HTMLMediaElement@autoplay on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/android/voice_search_tab_helper.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/encrypted_media_browsertest.cc
diff --git a/chrome/browser/media/encrypted_media_browsertest.cc b/chrome/browser/media/encrypted_media_browsertest.cc
index d21e87a2867c13dfbdb1171183d0aeb4612fe05f..65a728076a0a7c483330795c61dd9399d5011ccb 100644
--- a/chrome/browser/media/encrypted_media_browsertest.cc
+++ b/chrome/browser/media/encrypted_media_browsertest.cc
@@ -234,6 +234,13 @@
title_watcher->AlsoWaitForTitle(base::ASCIIToUTF16(kEmeKeyError));
}
+ virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
+#if defined(OS_ANDROID)
+ command_line->AppendSwitch(
+ switches::kDisableGestureRequirementForMediaPlayback);
+#endif // defined(OS_ANDROID)
+ }
+
void SetUpCommandLineForKeySystem(const std::string& key_system,
CommandLine* command_line) {
if (GetServerConfig(key_system))
« no previous file with comments | « chrome/browser/android/voice_search_tab_helper.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698