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

Unified Diff: content/public/common/content_client.h

Issue 1637083002: Add CdmService to keep track of CDMs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename + simplification Created 4 years, 9 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
« content/public/common/cdm_service.h ('K') | « content/public/common/cdm_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index ba15b3eb8a94f35ee1dd12bca4e1ca2a9816a865..abe1f97be8b79ac8431b382e6e25ec066c1364bc 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -46,6 +46,7 @@ class ContentGpuClient;
class ContentPluginClient;
class ContentRendererClient;
class ContentUtilityClient;
+struct CdmInfo;
struct PepperPluginInfo;
// Setter and getter for the client. The client should be set early, before any
@@ -88,6 +89,11 @@ class CONTENT_EXPORT ContentClient {
virtual void AddPepperPlugins(
std::vector<content::PepperPluginInfo>* plugins) {}
+ // Gives the embedder a chance to register the content decryption
+ // module(s) it supports.
+ virtual void AddContentDecryptionModules(
+ std::vector<content::CdmInfo>* modules) {}
ddorwin 2016/03/18 19:24:19 |cdms|
jrummell 2016/03/23 21:38:10 Done.
+
// Gives the embedder a chance to register its own standard, referrer and
// saveable url schemes early on in the startup sequence.
virtual void AddAdditionalSchemes(
« content/public/common/cdm_service.h ('K') | « content/public/common/cdm_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698