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

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: changes Created 4 years, 8 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/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index d7b02300ec2111b213fb12d36fc46987b557ce2e..130e98a1e5ec85244ea8ab88b64c0797f115cd5f 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -45,6 +45,7 @@ class ContentClient;
class ContentGpuClient;
class ContentRendererClient;
class ContentUtilityClient;
+struct CdmInfo;
struct PepperPluginInfo;
// Setter and getter for the client. The client should be set early, before any
@@ -86,6 +87,11 @@ class CONTENT_EXPORT ContentClient {
virtual void AddPepperPlugins(
std::vector<content::PepperPluginInfo>* plugins) {}
+ // Gives the embedder a chance to register the content decryption
+ // modules it supports.
+ virtual void AddContentDecryptionModules(
+ std::vector<content::CdmInfo>* cdms) {}
+
// Gives the embedder a chance to register its own standard, referrer and
// saveable url schemes early on in the startup sequence.
virtual void AddAdditionalSchemes(

Powered by Google App Engine
This is Rietveld 408576698