From b6e613677670680675a7662fb5f2b1613b1af31e Mon Sep 17 00:00:00 2001 From: kmackay Date: Thu, 10 Mar 2016 21:35:01 -0800 Subject: [Chromecast] Enable crash reporting for Cast utility processes BUG= Review URL: https://codereview.chromium.org/1779263002 Cr-Commit-Position: refs/heads/master@{#380535} --- chromecast/app/linux/cast_crash_reporter_client.cc | 3 ++- chromecast/browser/cast_content_browser_client.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'chromecast') 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) { -- cgit v1.1