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

Unified Diff: components/test_runner/mock_content_settings_client.h

Issue 1926773002: TestRunner: add method to instrument autoplay settings and set default value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autoplay-htmlmedialement
Patch Set: fix tests Created 4 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: components/test_runner/mock_content_settings_client.h
diff --git a/components/test_runner/mock_content_settings_client.h b/components/test_runner/mock_content_settings_client.h
index 4d7337e647330a36568cb3a18b99a73e030210a9..523888c03dd608ae9ea76ea901a39268f8f4424e 100644
--- a/components/test_runner/mock_content_settings_client.h
+++ b/components/test_runner/mock_content_settings_client.h
@@ -34,6 +34,7 @@ class MockContentSettingsClient : public blink::WebContentSettingsClient {
bool allowRunningInsecureContent(bool enabledPerSettings,
const blink::WebSecurityOrigin&,
const blink::WebURL&) override;
+ bool allowAutoplay(bool defaultValue) override;
void SetDelegate(WebTestDelegate*);
« no previous file with comments | « components/test_runner/layout_test_runtime_flags.cc ('k') | components/test_runner/mock_content_settings_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698