summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_info.h
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-16 22:44:09 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-16 22:44:09 +0000
commit036fb21029f58eac6a473847b30d068579286e39 (patch)
treedfedb13b3f6b2b0b2397be33eec6b13307464e44 /chrome/common/child_process_info.h
parent2a34bc790d7b354f7cfbefbcd144f16bdec55ee6 (diff)
downloadchromium_src-036fb21029f58eac6a473847b30d068579286e39.zip
chromium_src-036fb21029f58eac6a473847b30d068579286e39.tar.gz
chromium_src-036fb21029f58eac6a473847b30d068579286e39.tar.bz2
Merge 33794 - 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 TBR=asargent@chromium.org Review URL: http://codereview.chromium.org/501064 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@34768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_info.h')
-rw-r--r--chrome/common/child_process_info.h6
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);