1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_EVENT_TYPE_H_
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_EVENT_TYPE_H_
8 namespace performance_monitor {
10 // IMPORTANT: To add new events, please
11 // - Place the new event above EVENT_NUMBER_OF_EVENTS.
12 // - Add a member to the EventKeyChar enum in key_builder.cc.
13 // - Add the appropriate messages in generated_resources.grd.
14 // - Add the appropriate functions in
15 // chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h.
19 // Extension-Related events
20 EVENT_EXTENSION_INSTALL,
21 EVENT_EXTENSION_UNINSTALL,
22 EVENT_EXTENSION_UPDATE,
23 EVENT_EXTENSION_ENABLE,
24 EVENT_EXTENSION_DISABLE,
26 // Chrome's version has changed.
29 // Renderer-Failure related events; these correspond to the RENDERER_HANG
30 // event, and the two termination statuses ABNORMAL_EXIT and PROCESS_KILLED,
34 EVENT_RENDERER_KILLED,
36 // Chrome did not shut down correctly.
39 EVENT_NUMBER_OF_EVENTS
42 } // namespace performance_monitor
44 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_EVENT_TYPE_H_