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

Unified Diff: content/public/browser/browser_context.h

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
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index d6d89501039f59935b1939c271f38fb9c8af84ce..527184f5274428dfcb94ccd7f03760c9654052c4 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -143,6 +143,22 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
int bridge_id,
const GURL& requesting_frame) = 0;
+ typedef base::Callback<void(bool)> ProtectedMediaIdentifierPermissionCallback;
+
+ // Request permission to access protected media identifier. The callback will
+ // tell whether it's permitted.
+ virtual void RequestProtectedMediaIdentifierPermission(
+ int render_process_id,
+ int render_view_id,
+ int bridge_id,
+ int group_id,
+ const GURL& requesting_frame,
+ const ProtectedMediaIdentifierPermissionCallback& callback) = 0;
+
+ // Cancels pending protected media identifier permission requests.
+ virtual void CancelProtectedMediaIdentifierPermissionRequests(
+ int group_id) = 0;
+
// Returns the resource context.
virtual ResourceContext* GetResourceContext() = 0;
« no previous file with comments | « content/common/media/media_player_messages_android.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698