Index: content/browser/media/cdm/browser_cdm_manager.h |
diff --git a/content/browser/media/cdm/browser_cdm_manager.h b/content/browser/media/cdm/browser_cdm_manager.h |
index c82d6f2e15ff092e5132ddfd289c6b20f936f9b4..d5683bd507e362e6d841bf1fd7e0a41b19a84ab2 100644 |
--- a/content/browser/media/cdm/browser_cdm_manager.h |
+++ b/content/browser/media/cdm/browser_cdm_manager.h |
@@ -114,6 +114,14 @@ class CONTENT_EXPORT BrowserCdmManager : public BrowserMessageFilter { |
// Removes the CDM with the specified id. |
void RemoveCdm(uint64 id); |
+ // Requests permission for the given protected-media session (infobar). |
+ void RequestSessionPermission(int render_frame_id, |
+ const GURL& security_origin, |
+ int cdm_id, |
+ uint32 session_id, |
+ const std::string& content_type, |
+ const std::vector<uint8>& init_data); |
+ |
// If |permitted| is false, it does nothing but send |
// |CdmMsg_SessionError| IPC message. |
// The primary use case is infobar permission callback, i.e., when infobar |