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

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

Issue 2582463003: media: Verify CDM Host files (Closed)
Patch Set: comments addressed Created 3 years, 11 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') | content/zygote/zygote_main_linux.cc » ('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 57a52faa3aed95f83c39b41fbda479579499799a..ea0bb0d80aaadcd331655a1995b0c6e42c8a7f93 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -45,6 +45,7 @@ class ContentGpuClient;
class ContentRendererClient;
class ContentUtilityClient;
class OriginTrialPolicy;
+struct CdmHostFilePath;
struct CdmInfo;
struct PepperPluginInfo;
@@ -87,10 +88,13 @@ 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.
+ // Gives the embedder a chance to register the Content Decryption Modules
+ // (CDM) it supports, as well as the CDM host file paths to verify CDM host.
+ // |cdms| or |cdm_host_file_paths| can be null which means that specific list
+ // is not needed.
virtual void AddContentDecryptionModules(
- std::vector<content::CdmInfo>* cdms) {}
+ std::vector<content::CdmInfo>* cdms,
+ std::vector<content::CdmHostFilePath>* cdm_host_file_paths) {}
// Gives the embedder a chance to register its own schemes early in the
// startup sequence.
« no previous file with comments | « content/public/common/cdm_info.h ('k') | content/zygote/zygote_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698