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

Unified Diff: content/ppapi_plugin/ppapi_plugin_main.cc

Issue 1416133003: Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ppapi-path Created 5 years, 1 month 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
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698