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

Unified Diff: content/public/test/test_browser_context.cc

Issue 107413006: Dismiss EME infobar when WebMediaPlayer is destroyed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make FakeProfile class happy Created 6 years, 11 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 | « content/public/test/test_browser_context.h ('k') | content/renderer/media/android/proxy_media_keys.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_context.cc
diff --git a/content/public/test/test_browser_context.cc b/content/public/test/test_browser_context.cc
index f194e7e64368923cc0cb3260888f3f3782ec3e62..0be7d1bb689dcb96025deb7ea2771fd4c0b86690 100644
--- a/content/public/test/test_browser_context.cc
+++ b/content/public/test/test_browser_context.cc
@@ -115,6 +115,21 @@ void TestBrowserContext::CancelMIDISysExPermissionRequest(
const GURL& requesting_frame) {
}
+void TestBrowserContext::RequestProtectedMediaIdentifierPermission(
+ int render_process_id,
+ int render_view_id,
+ int bridge_id,
+ int group_id,
+ const GURL& requesting_frame,
+ const ProtectedMediaIdentifierPermissionCallback& callback) {
+ // Always reject requests for testing.
+ callback.Run(false);
+}
+
+void TestBrowserContext::CancelProtectedMediaIdentifierPermissionRequests(
+ int group_id) {
+}
+
ResourceContext* TestBrowserContext::GetResourceContext() {
if (!resource_context_)
resource_context_.reset(new MockResourceContext(
« no previous file with comments | « content/public/test/test_browser_context.h ('k') | content/renderer/media/android/proxy_media_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698