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

Unified Diff: chrome/browser/ui/sad_tab_types.h

Issue 2172013002: Wire up OOM exception to the sad tab page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@memory2
Patch Set: increment outside macro Created 4 years, 5 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
« no previous file with comments | « chrome/browser/ui/sad_tab_helper.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sad_tab_types.h
diff --git a/chrome/browser/ui/sad_tab_types.h b/chrome/browser/ui/sad_tab_types.h
index 4323295bab271fffb56f406d77d6153da4c949f2..584ec96a27bfc656c7d0a0e6eb71a66c9ef8f05a 100644
--- a/chrome/browser/ui/sad_tab_types.h
+++ b/chrome/browser/ui/sad_tab_types.h
@@ -10,11 +10,12 @@
namespace chrome {
enum SadTabKind {
- SAD_TAB_KIND_CRASHED, // Tab crashed.
+ SAD_TAB_KIND_CRASHED, // Tab crashed.
#if defined(OS_CHROMEOS)
SAD_TAB_KIND_KILLED_BY_OOM, // Tab killed by oom killer.
#endif
- SAD_TAB_KIND_KILLED // Tab killed.
+ SAD_TAB_KIND_OOM, // Tab ran out of memory.
+ SAD_TAB_KIND_KILLED // Tab killed.
};
} // namespace chrome
« no previous file with comments | « chrome/browser/ui/sad_tab_helper.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698