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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 844193005: Add UMA metrics for profile switching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up and use browser_finder 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 30eb8601fe704b80fd48da67f8d28d09fcd62d2a..77d6765955e89d37987ed40c71ed42500135e69c 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -27857,6 +27857,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>
@@ -62089,6 +62098,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"/>

Powered by Google App Engine
This is Rietveld 408576698