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, |
jam
2017/01/23 17:45:44
this isn't a testing only flag anymore then?
xhwang
2017/01/23 23:16:09
Agreed. Though the purpose of adding such a flag i
jam
2017/01/24 00:39:24
Can you help me understand this more? I see you re
xhwang
2017/01/24 01:14:19
err, my bad. I should drop the "in tests" part fro
|
switches::kNoSandbox, |
switches::kPpapiStartupDialog, |
}; |