Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: chrome/browser/ui/sad_tab_helper.cc

Issue 1320153002: Add new termination status for failed launch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and a nit. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/sad_tab_helper.cc
diff --git a/chrome/browser/ui/sad_tab_helper.cc b/chrome/browser/ui/sad_tab_helper.cc
index f5903962d57140f08de4ef22f4f7f92b7f991cac..d3554c576026f750ba87bed6ea7536237839959c 100644
--- a/chrome/browser/ui/sad_tab_helper.cc
+++ b/chrome/browser/ui/sad_tab_helper.cc
@@ -21,6 +21,7 @@ chrome::SadTabKind SadTabKindFromTerminationStatus(
return chrome::SAD_TAB_KIND_KILLED_BY_OOM;
#endif
case base::TERMINATION_STATUS_PROCESS_WAS_KILLED:
+ case base::TERMINATION_STATUS_LAUNCH_FAILED:
return chrome::SAD_TAB_KIND_KILLED;
default:
return chrome::SAD_TAB_KIND_CRASHED;

Powered by Google App Engine
This is Rietveld 408576698