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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 894173002: Adds hook for content embedders to get media::BrowserCdm*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes CmaMessageFilterHost callback reference, rebase Created 5 years, 10 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/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 1ed902def6e0315455dff73b750aa155cb9f671f..aee57255d618d53e55feb2304170f478859c8dc7 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -149,6 +149,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
void OnRemoveSubscription(unsigned int target) override;
void SendUpdateValueState(
unsigned int target, const gpu::ValueState& state) override;
+#if defined(ENABLE_BROWSER_CDMS)
+ media::BrowserCdm* GetBrowserCdm(int render_frame_id,
+ int cdm_id) const override;
+#endif
// IPC::Sender via RenderProcessHost.
bool Send(IPC::Message* msg) override;
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698