Chromium Code Reviews| 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..fde32cb3c60391f4d88955d022de75b2898c29e9 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| by invoking |cdm_callback|, or nullptr if not found. |
|
erickung1
2015/02/02 21:51:34
Nit: updates the comment since |cdm_callback| is n
gunsch
2015/02/02 23:43:13
Done.
|
| + 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 |