diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 05:33:45 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 05:33:45 +0000 |
commit | 1f085624338804175358157bd1e1b3632be37c93 (patch) | |
tree | cdfebd86f786c7d71c1be4b1cb7bbb65ba9f740d /chrome/browser/renderer_host/render_process_host.h | |
parent | b9376951e95e4cb1dda5a21f6f698a359ad51da0 (diff) | |
download | chromium_src-1f085624338804175358157bd1e1b3632be37c93.zip chromium_src-1f085624338804175358157bd1e1b3632be37c93.tar.gz chromium_src-1f085624338804175358157bd1e1b3632be37c93.tar.bz2 |
Improve reporting of subprocess crashes.
-Split extension renderer crashes out of the existing UMA renderer crash metric
into its own metric.
-Add a new metric for the sum of all ChildProcessHost crashes.
-Add histograms for each crash type.
BUG=28022
TEST=We should start getting more crash reports in UMA and histograms.
Review URL: http://codereview.chromium.org/468005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33794 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_process_host.h')
-rw-r--r-- | chrome/browser/renderer_host/render_process_host.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/render_process_host.h b/chrome/browser/renderer_host/render_process_host.h index 0edf46c..9425949 100644 --- a/chrome/browser/renderer_host/render_process_host.h +++ b/chrome/browser/renderer_host/render_process_host.h @@ -46,6 +46,16 @@ class RenderProcessHost : public IPC::Channel::Sender, TYPE_EXTENSION, // Renderer with extension privileges. }; + // Details for RENDERER_PROCESS_CLOSED notifications. + struct RendererClosedDetails { + RendererClosedDetails(bool did_crash, bool was_extension_renderer) { + this->did_crash = did_crash; + this->was_extension_renderer = was_extension_renderer; + } + bool did_crash; + bool was_extension_renderer; + }; + explicit RenderProcessHost(Profile* profile); virtual ~RenderProcessHost(); |