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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 844193005: Add UMA metrics for profile switching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ununsed include file Created 5 years, 11 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:
Download patch
« no previous file with comments | « chrome/browser/ui/webui/signin/user_manager_screen_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 2bd1ed2f668bc0aa7b78765f83f069dd27117797..d5da81c2b0bb447dd111605775a022d05d167f68 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -28054,6 +28054,15 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Profile.NumberOfSwitches">
+ <owner>anthonyvd@chromium.org</owner>
+ <summary>
+ Counts the number of times profiles were switched in a browser session. This
+ value is incremented when a profile is switched to and the result is logged
+ during shutdown.
+ </summary>
+</histogram>
+
<histogram name="Profile.NumberOfUnusedProfiles">
<owner>mlerman@chromium.org</owner>
<summary>
@@ -62482,6 +62491,19 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Profile.DesktopMenu"/>
</histogram_suffixes>
+<histogram_suffixes name="ProfileOpenState" separator=".">
+ <suffix name="ToOpenedProfile"
+ label="The profile being switched to was already loaded and had at
+ least one open browser"/>
+ <suffix name="ToUnopenedProfile"
+ label="The profile being switched to had not yet been loaded this
+ Chrome session"/>
+ <suffix name="ToOpenedProfileWithoutBrowser"
+ label="The profile being switched to was already opened and had no
+ active browsers"/>
+ <affected-histogram name="Profile.OpenMethod"/>
+</histogram_suffixes>
+
<histogram_suffixes name="ProfilePictureDownload" separator=".">
<suffix name="Default.OOBE" label="default picture, in OOBE"/>
<suffix name="Default.LoggedIn" label="default picture, after login"/>
« no previous file with comments | « chrome/browser/ui/webui/signin/user_manager_screen_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698