summaryrefslogtreecommitdiffstats
path: root/chromecast
diff options
context:
space:
mode:
authorkmackay <kmackay@chromium.org>2016-03-10 21:35:01 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-11 05:36:03 +0000
commitb6e613677670680675a7662fb5f2b1613b1af31e (patch)
tree3172b96e6b03b9d1105a1d27f34eee4afc207d05 /chromecast
parent304ec1544273ed8d62c693da6dd2c63727805cdd (diff)
downloadchromium_src-b6e613677670680675a7662fb5f2b1613b1af31e.zip
chromium_src-b6e613677670680675a7662fb5f2b1613b1af31e.tar.gz
chromium_src-b6e613677670680675a7662fb5f2b1613b1af31e.tar.bz2
[Chromecast] Enable crash reporting for Cast utility processes
BUG= Review URL: https://codereview.chromium.org/1779263002 Cr-Commit-Position: refs/heads/master@{#380535}
Diffstat (limited to 'chromecast')
-rw-r--r--chromecast/app/linux/cast_crash_reporter_client.cc3
-rw-r--r--chromecast/browser/cast_content_browser_client.cc3
2 files changed, 4 insertions, 2 deletions
diff --git a/chromecast/app/linux/cast_crash_reporter_client.cc b/chromecast/app/linux/cast_crash_reporter_client.cc
index e90d4f1..fc88ed3 100644
--- a/chromecast/app/linux/cast_crash_reporter_client.cc
+++ b/chromecast/app/linux/cast_crash_reporter_client.cc
@@ -52,7 +52,8 @@ bool CastCrashReporterClient::EnableBreakpadForProcess(
const std::string& process_type) {
return process_type == switches::kRendererProcess ||
process_type == switches::kZygoteProcess ||
- process_type == switches::kGpuProcess;
+ process_type == switches::kGpuProcess ||
+ process_type == switches::kUtilityProcess;
}
bool CastCrashReporterClient::HandleCrashDump(const char* crashdump_filename) {
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc
index e1ba889..cf34a67 100644
--- a/chromecast/browser/cast_content_browser_client.cc
+++ b/chromecast/browser/cast_content_browser_client.cc
@@ -458,7 +458,8 @@ int CastContentBrowserClient::GetCrashSignalFD(
command_line.GetSwitchValueASCII(switches::kProcessType);
if (process_type == switches::kRendererProcess ||
- process_type == switches::kGpuProcess) {
+ process_type == switches::kGpuProcess ||
+ process_type == switches::kUtilityProcess) {
breakpad::CrashHandlerHostLinux* crash_handler =
crash_handlers_[process_type];
if (!crash_handler) {