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/common/child_process_info.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/common/child_process_info.h')
-rw-r--r-- | chrome/common/child_process_info.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/child_process_info.h b/chrome/common/child_process_info.h index 31b1cb84..50d1d0d 100644 --- a/chrome/common/child_process_info.h +++ b/chrome/common/child_process_info.h @@ -12,7 +12,10 @@ // Holds information about a child process. class ChildProcessInfo { public: + // NOTE: Do not remove or reorder the elements in this enum, and only add new + // items at the end. We depend on these specific values in a histogram. enum ProcessType { + UNKNOWN_PROCESS = 1, BROWSER_PROCESS, RENDER_PROCESS, PLUGIN_PROCESS, @@ -21,8 +24,7 @@ class ChildProcessInfo { UTILITY_PROCESS, PROFILE_IMPORT_PROCESS, ZYGOTE_PROCESS, - SANDBOX_HELPER_PROCESS, - UNKNOWN_PROCESS, + SANDBOX_HELPER_PROCESS }; ChildProcessInfo(const ChildProcessInfo& original); |