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

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

Issue 2582463003: media: Verify CDM Host files (Closed)
Patch Set: VerifyFiles() now returns a boolean. 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
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..2fbe1bcbfa915cd0dc0dce7afc455c5d8adcc404 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,11 +88,16 @@ 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.
virtual void AddContentDecryptionModules(
std::vector<content::CdmInfo>* cdms) {}
+ // Gives the embedder a chance to register Content Decryption Module (CDM)
+ // host file paths.
+ virtual void AddContentDecryptionModuleHostFilePaths(
jam 2017/01/23 17:45:45 why isn't this just combined with the above method
xhwang 2017/01/23 23:16:09 They serve different purposes. But I guess for the
+ std::vector<content::CdmHostFilePath>* cdm_host_file_paths) {}
+
// Gives the embedder a chance to register its own schemes early in the
// startup sequence.
struct Schemes {

Powered by Google App Engine
This is Rietveld 408576698