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

Unified Diff: chrome/browser/browser_shutdown.h

Issue 2318373003: Record shutdown type UMA (Closed)
Patch Set: Record shutdown type UMA Created 4 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
« no previous file with comments | « no previous file | chrome/browser/browser_shutdown.cc » ('j') | chrome/browser/lifetime/application_lifetime.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_shutdown.h
diff --git a/chrome/browser/browser_shutdown.h b/chrome/browser/browser_shutdown.h
index e3cf6506841d13a1bcdb9817be6c1a14c77dda57..0e239b4783a44a09bb050f51fb433a0706ebd4b7 100644
--- a/chrome/browser/browser_shutdown.h
+++ b/chrome/browser/browser_shutdown.h
@@ -33,7 +33,9 @@ enum ShutdownType {
// user clicked on the Exit menu item
BROWSER_EXIT,
// windows is logging off or shutting down
- END_SESSION
+ END_SESSION,
+ // This value should always be the last element of this enum.
+ SHUTDOWN_TYPE_MAX_VALUE,
sky 2016/09/09 15:40:56 I'm not a fan of this style. It means the enum has
hashimoto 2016/09/12 05:10:18 Sounds good. Done.
};
void RegisterPrefs(PrefRegistrySimple* registry);
« no previous file with comments | « no previous file | chrome/browser/browser_shutdown.cc » ('j') | chrome/browser/lifetime/application_lifetime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698