Index: content/browser/ppapi_plugin_process_host.cc |
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc |
index 7b541e7b6528313fca6fca9e57c999326d691653..8c58dd92a01edb314fa40b3ba2c312478c949ba1 100644 |
--- a/content/browser/ppapi_plugin_process_host.cc |
+++ b/content/browser/ppapi_plugin_process_host.cc |
@@ -33,6 +33,7 @@ |
#include "content/public/common/sandbox_type.h" |
#include "content/public/common/sandboxed_process_launcher_delegate.h" |
#include "content/public/common/service_names.mojom.h" |
+#include "media/base/media_switches.h" |
#include "mojo/edk/embedder/embedder.h" |
#include "net/base/network_change_notifier.h" |
#include "ppapi/proxy/ppapi_messages.h" |
@@ -399,6 +400,8 @@ bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) { |
#if defined(OS_MACOSX) |
switches::kEnableSandboxLogging, |
#endif |
+ // Need to tell CdmHostFile(s) to ignore missing CDM host files in tests. |
+ switches::kIgnoreMissingCdmHostFileForTesting, |
switches::kNoSandbox, |
switches::kPpapiStartupDialog, |
}; |