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

Unified Diff: content/public/browser/content_browser_client.h

Issue 1408793009: media: Remove BrowserCdmFactory inferface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment for DEPS change. Created 5 years, 1 month 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
« no previous file with comments | « content/public/browser/DEPS ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « content/public/browser/DEPS ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698