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

Unified Diff: content/zygote/zygote_main_linux.cc

Issue 2582463003: media: Verify CDM Host files (Closed)
Patch Set: Created 4 years 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/zygote/zygote_main_linux.cc
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
index 02beffae8a89ff2488c5be74efc600316fb31f06..cc02cffb22f02b1d8bbe11801312a9de494e08b4 100644
--- a/content/zygote/zygote_main_linux.cc
+++ b/content/zygote/zygote_main_linux.cc
@@ -36,6 +36,7 @@
#include "build/build_config.h"
#include "content/common/child_process_sandbox_support_impl_linux.h"
#include "content/common/font_config_ipc_linux.h"
+#include "content/common/media/cdm_host_files.h"
#include "content/common/sandbox_linux/sandbox_debug_handling_linux.h"
#include "content/common/sandbox_linux/sandbox_linux.h"
#include "content/common/zygote_commands_linux.h"
@@ -367,6 +368,10 @@ static void ZygotePreSandboxInit() {
InitializeWebRtcModule();
#endif
+#if BUILDFLAG(ENABLE_PEPPER_CDMS)
+ CdmHostFiles::CreateGlobalInstance();
+#endif
+
SkFontConfigInterface::SetGlobal(
new FontConfigIPC(GetSandboxFD()))->unref();

Powered by Google App Engine
This is Rietveld 408576698