Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index fe3538f35a7dfe87d264b33aa72e1784ad7374b4..a4bad095d34fd88cc22620ebbd9ba7db73d96988 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -54,6 +54,10 @@ namespace gfx { |
class ImageSkia; |
} |
+namespace media { |
+class CdmFactory; |
+} |
+ |
namespace mojo { |
class ApplicationDelegate; |
} |
@@ -709,6 +713,10 @@ class CONTENT_EXPORT ContentBrowserClient { |
virtual ScopedVector<NavigationThrottle> CreateThrottlesForNavigation( |
NavigationHandle* navigation_handle); |
+ // Creates and returns a factory used for creating CDM instances for playing |
+ // protected content. |
+ virtual scoped_ptr<media::CdmFactory> CreateCdmFactory(); |
+ |
// Populates |mappings| with all files that need to be mapped before launching |
// a child process. |
#if defined(OS_ANDROID) |