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

Unified Diff: chrome/common/chrome_content_client.cc

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
Index: chrome/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index 4cf646b0e4ac2376c58466ba811aadd621171a02..d4ae21b875e74f50162d2b909a07b314af6b86b3 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -84,6 +84,10 @@
#include "chrome/common/widevine_cdm_constants.h"
#endif
+#if BUILDFLAG(ENABLE_PEPPER_CDMS)
+#include "chrome/common/media/cdm_host_file_path.h"
+#endif
+
#if defined(OS_ANDROID)
#include "chrome/common/chrome_media_client_android.h"
#endif
@@ -555,6 +559,13 @@ void ChromeContentClient::AddContentDecryptionModules(
// TODO(jrummell): Add External Clear Key CDM for testing, if it's available.
}
+#if BUILDFLAG(ENABLE_PEPPER_CDMS)
+void ChromeContentClient::AddContentDecryptionModuleHostFilePaths(
+ std::vector<content::CdmHostFilePath>* cdm_host_file_paths) {
+ AddCdmHostFilePaths(cdm_host_file_paths);
+}
+#endif
+
static const char* const kChromeStandardURLSchemes[] = {
extensions::kExtensionScheme,
chrome::kChromeNativeScheme,

Powered by Google App Engine
This is Rietveld 408576698