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

Unified Diff: chrome/browser/performance_monitor/event.h

Issue 10987040: Fix CPM casting issue; refactor renderer crash events (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit fixes, latest master Created 8 years, 2 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/performance_monitor/event.h
diff --git a/chrome/browser/performance_monitor/event.h b/chrome/browser/performance_monitor/event.h
index c2c266b5ff57f250d87e0675d987a3fb1cb4947a..1dbbe3b4e247d78f6da886227c64e87e914e4afd 100644
--- a/chrome/browser/performance_monitor/event.h
+++ b/chrome/browser/performance_monitor/event.h
@@ -19,16 +19,27 @@ namespace performance_monitor {
// chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h.
enum EventType {
EVENT_UNDEFINED,
+
+ // Extension-Related events
EVENT_EXTENSION_INSTALL,
EVENT_EXTENSION_UNINSTALL,
EVENT_EXTENSION_UPDATE,
EVENT_EXTENSION_ENABLE,
EVENT_EXTENSION_DISABLE,
+
+ // Chrome's version has changed.
EVENT_CHROME_UPDATE,
- EVENT_RENDERER_FREEZE,
+
+ // Renderer-Failure related events; these correspond to the RENDERER_HANG
+ // event, and the two termination statuses ABNORMAL_EXIT and PROCESS_KILLED,
+ // respectively.
+ EVENT_RENDERER_HANG,
EVENT_RENDERER_CRASH,
- EVENT_KILLED_BY_OS_CRASH,
+ EVENT_RENDERER_KILLED,
+
+ // Chrome did not shut down correctly.
EVENT_UNCLEAN_EXIT,
+
EVENT_NUMBER_OF_EVENTS
};
« no previous file with comments | « chrome/browser/performance_monitor/database_unittest.cc ('k') | chrome/browser/performance_monitor/events.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698