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

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

Issue 2962773002: [Tab Metrics] Added TabManager.SessionRestore.SwitchToTab UMA. (Closed)
Patch Set: Addresses histogram.xml comments and adds standard UMA enum warning Created 3 years, 6 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 | « tools/metrics/histograms/enums.xml ('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 b20478aafcdac76dbeeb175777d75c999209a733..7942aba111af58988109528e8596f5168dfec613 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -77828,6 +77828,23 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="TabManager.SessionRestore.SwitchToTab" enum="TabLoadingState">
+ <owner>fmeawad@chromium.org</owner>
+ <summary>
+ The loading state of a tab at the time the user switched to it during a
+ session restore. The metric is only recorded when a tab is switched to from
+ another tab within the same tabstrip. As a result, there are two cases where
+ tabs are not included. The first case is when the initial forground tab is
+ shown, since it was not switched to from another tab. The second case is
+ when switching between different windows, either between two tabs in
+ different browser windows, or when switching to a different application and
+ switching back to the browser. The metric is only recorded when session
+ restore is actively loading tabs, which ends when either all tabs have been
+ loaded and their pages rendered, or tab loading needs to be deferred in
+ cases where the system is under memory pressure.
+ </summary>
+</histogram>
+
<histogram name="Tabs.CountAtResume" units="tabs">
<owner>lliabraa@chromium.org</owner>
<summary>
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698