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

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: rebase + add default copy constructor 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
« no previous file with comments | « content/public/common/cdm_info.h ('k') | third_party/widevine/cdm/widevine_cdm_common.h » ('j') | 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 243afccf4b0b361d539dab0fbddc8c9c8a268c62..7f4be8746c197fc8de550fb7e5d6b0adadfd7de4 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(
« no previous file with comments | « content/public/common/cdm_info.h ('k') | third_party/widevine/cdm/widevine_cdm_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698