summaryrefslogtreecommitdiffstats
path: root/extensions/browser/guest_view
diff options
context:
space:
mode:
authorwfh <wfh@chromium.org>2015-09-02 16:18:58 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-02 23:20:16 +0000
commit0d9532a1e73db2bc36a865655b0727d74dcf13a6 (patch)
tree790667820773e3a1abc7bc9aaabf9fa1e078b5e0 /extensions/browser/guest_view
parent6d986d7ad324ff7b89ab56cac416be4214c508ad (diff)
downloadchromium_src-0d9532a1e73db2bc36a865655b0727d74dcf13a6.zip
chromium_src-0d9532a1e73db2bc36a865655b0727d74dcf13a6.tar.gz
chromium_src-0d9532a1e73db2bc36a865655b0727d74dcf13a6.tar.bz2
Add new termination status for failed child process launch.
Treat renderer startup failure as a renderer crash for metrics. This makes situations where sandbox failures are happening en-masse without crash reports being produced easier to spot on the stability dashboard. BUG=526198,467920 Review URL: https://codereview.chromium.org/1320153002 Cr-Commit-Position: refs/heads/master@{#347060}
Diffstat (limited to 'extensions/browser/guest_view')
-rw-r--r--extensions/browser/guest_view/web_view/web_view_guest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.cc b/extensions/browser/guest_view/web_view/web_view_guest.cc
index da15b9f..70dca3f 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.cc
+++ b/extensions/browser/guest_view/web_view/web_view_guest.cc
@@ -128,6 +128,8 @@ static std::string TerminationStatusToString(base::TerminationStatus status) {
return "killed";
case base::TERMINATION_STATUS_PROCESS_CRASHED:
return "crashed";
+ case base::TERMINATION_STATUS_LAUNCH_FAILED:
+ return "failed to launch";
case base::TERMINATION_STATUS_MAX_ENUM:
break;
}