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

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

Issue 1610143002: Adds UMA for slow and fast back/forward WKWebController navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Factored out logic to a helper. Added an early return. Created 4 years, 10 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 | « ios/web/web_state/ui/crw_wk_web_view_web_controller.mm ('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 80cfbc7de7b75335eeb51c86416f5d71150721f6..5c6437f0f91783acdef04732ecb5f5ccf164af86 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -22036,6 +22036,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Navigation.IOSWKWebViewSlowFastBackForward"
+ enum="BackForwardNavigationType">
+ <owner>stkhapugin@chromium.org</owner>
+ <owner>eugenebut@chromium.org</owner>
+ <owner>stuartmorgan@chromium.org</owner>
+ <summary>
+ Counts slow/fast back/forward navigations on iOS with WKWebView enabled.
+ Fast navigation is a back/forward navigation done with WKBackForwardList.
+ </summary>
+</histogram>
+
<histogram name="Navigation.IsMobileOptimized" enum="BooleanIsMobileOptimized">
<owner>cjhopman@chromium.org</owner>
<owner>nyquist@chromium.org</owner>
@@ -57963,6 +57974,13 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="3" label="[Deprecated] AUTO_LAUNCH_FOREGROUND_USELESS"/>
</enum>
+<enum name="BackForwardNavigationType" type="int">
+ <int value="0" label="Fast back navigation with WKBackForwardList"/>
+ <int value="1" label="Slow back navigation"/>
+ <int value="2" label="Fast forward navigation with WKBackForwardList"/>
+ <int value="3" label="Slow forward navigation"/>
+</enum>
+
<enum name="BackgroundModeMenuItem" type="int">
<int value="0" label="About"/>
<int value="1" label="Task manager"/>
« no previous file with comments | « ios/web/web_state/ui/crw_wk_web_view_web_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698