Chromium Code Reviews| Index: content/ppapi_plugin/ppapi_plugin_main.cc |
| diff --git a/content/ppapi_plugin/ppapi_plugin_main.cc b/content/ppapi_plugin/ppapi_plugin_main.cc |
| index 497e195df5b0d0ea6f31a95979699a25c3f8403a..b064bfb9081b7d544ba31addbb4a615c7dd23bb9 100644 |
| --- a/content/ppapi_plugin/ppapi_plugin_main.cc |
| +++ b/content/ppapi_plugin/ppapi_plugin_main.cc |
| @@ -4,6 +4,7 @@ |
| #include "base/base_paths.h" |
| #include "base/command_line.h" |
| +#include "base/debug/crash_logging.h" |
| #include "base/debug/debugger.h" |
| #include "base/files/file_path.h" |
| #include "base/i18n/rtl.h" |
| @@ -69,6 +70,8 @@ void SkiaPreCacheFont(const LOGFONT& logfont) { |
| // Main function for starting the PPAPI plugin process. |
| int PpapiPluginMain(const MainFunctionParams& parameters) { |
| const base::CommandLine& command_line = parameters.command_line; |
| + base::debug::SetCrashKeyValue( |
| + "plugin-path", command_line.GetSwitchValueASCII("plugin-path")); |
|
Mark Mentovai
2015/11/21 14:53:07
switches::kPluginPath for the one on the right sid
scottmg
2015/11/24 19:04:25
I hadn't even checked, but looking now, it turns o
|
| #if defined(OS_WIN) |
| g_target_services = parameters.sandbox_info->target_services; |