| Index: content/public/browser/render_process_host.h
|
| diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
|
| index b74e38f20592baff448d2e28209a38cd98abdb02..e5e60dc0bd7df39e92510213bb5d04840ec01330 100644
|
| --- a/content/public/browser/render_process_host.h
|
| +++ b/content/public/browser/render_process_host.h
|
| @@ -30,6 +30,7 @@ union ValueState;
|
|
|
| namespace media {
|
| class AudioOutputController;
|
| +class BrowserCdm;
|
| }
|
|
|
| namespace content {
|
| @@ -271,6 +272,13 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
|
| virtual void GetAudioOutputControllers(
|
| const GetAudioOutputControllersCallback& callback) const = 0;
|
|
|
| +#if defined(ENABLE_BROWSER_CDMS)
|
| + // Returns the ::media::BrowserCdm instance associated with |render_frame_id|
|
| + // and |cdm_id|, or nullptr if not found.
|
| + virtual media::BrowserCdm* GetBrowserCdm(int render_frame_id,
|
| + int cdm_id) const = 0;
|
| +#endif
|
| +
|
| // Static management functions -----------------------------------------------
|
|
|
| // Flag to run the renderer in process. This is primarily
|
|
|