summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorscottmg <scottmg@chromium.org>2015-11-30 15:13:46 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-30 23:14:45 +0000
commitcfa5b01bb1d06bf96967bd37e21a44752801948c (patch)
tree482d6cba1afc8cc6c3a8ea15749c43ec97e6f9f1 /chrome/common/chrome_switches.cc
parent3cd4753b98c9bb96618ec71ebac2c14a02182a97 (diff)
downloadchromium_src-cfa5b01bb1d06bf96967bd37e21a44752801948c.zip
chromium_src-cfa5b01bb1d06bf96967bd37e21a44752801948c.tar.gz
chromium_src-cfa5b01bb1d06bf96967bd37e21a44752801948c.tar.bz2
Reland: Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows
Changes since https://codereview.chromium.org/1416133003 are ps1 -> ps2. - Includes build fix to for debug component GN build. - Includes Crashpad roll to pull in clang compile fixes and a limit on the number of locks saved to the crash dump. - Increase timeout on tab crash telemetry test for debug builds. Original CL: Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows Crashpad is always compiled into chrome and its handler is always enabled. It only uploads in Official builds. On Windows, the crash handler is chrome.exe run with a --crashpad-handler argument. This is due to concern about incompatibilities of shipping an additional new different binary for AV, firewalls, etc. Sample renderer crash/1aed2bc785e28995 Sample browser: crash/66c822815474a5d8 See also http://crbug.com/427611 . R=mark@chromium.org TBR=cpu@chromium.org BUG=447073, 546288, 456193 Review URL: https://codereview.chromium.org/1479283002 Cr-Commit-Position: refs/heads/master@{#362258}
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c4f324d..5cd5b8e 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1238,6 +1238,14 @@ const char kRelauncherProcessDMGDevice[] = "dmg-device";
#endif // defined(OS_MACOSX)
#if defined(OS_WIN)
+// A process type (switches::kProcessType) that indicates chrome.exe is being
+// launched as crashpad_handler. This is only used on Windows. We bundle the
+// handler into chrome.exe on Windows because there is high probability of a
+// "new" .exe being blocked or interfered with by application firewalls, AV
+// software, etc. On other platforms, crashpad_handler is a standalone
+// executable.
+const char kCrashpadHandler[] = "crashpad-handler";
+
// Fallback to XPS. By default connector uses CDD.
const char kEnableCloudPrintXps[] = "enable-cloud-print-xps";