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

Unified Diff: content/shell/browser/shell_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: added comments in PermissionQueueController Created 7 years 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/shell/browser/shell_browser_context.cc
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc
index 8533713dc6684ef63ad32d2d7ab89e68beaacfdd..b81a5b3fd4ff25fa19d72f7d8c82a60ecc348699 100644
--- a/content/shell/browser/shell_browser_context.cc
+++ b/content/shell/browser/shell_browser_context.cc
@@ -199,6 +199,21 @@ void ShellBrowserContext::CancelMIDISysExPermissionRequest(
const GURL& requesting_frame) {
}
+void ShellBrowserContext::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.
jam 2014/01/02 22:50:56 hmm, content/shell is an example of a content embe
Kibeom Kim (inactive) 2014/01/02 23:26:36 (This is not used in any test, unless some tests a
jam 2014/01/03 00:54:23 yes, since content shell is just an example of a s
jam 2014/01/03 00:57:35 btw i've sent out a fix in https://codereview.chro
Kibeom Kim (inactive) 2014/01/03 00:59:17 Done. (already :) )
+ callback.Run(false);
+}
+
+void ShellBrowserContext::CancelProtectedMediaIdentifierPermissionRequests(
+ int group_id) {
+}
+
net::URLRequestContextGetter*
ShellBrowserContext::CreateRequestContextForStoragePartition(
const base::FilePath& partition_path,

Powered by Google App Engine
This is Rietveld 408576698