| 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 27fb5c93e834ad4269d985e174c87bc25fb26a73..195b3194d470716058fb7d5464f44553f6e80bc3 100644
|
| --- a/content/browser/media/cdm/browser_cdm_manager.h
|
| +++ b/content/browser/media/cdm/browser_cdm_manager.h
|
| @@ -111,6 +111,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
|
|
|