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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1155423008: hosted: Add two histograms tracking "mayLaunchUrl" usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments. Created 5 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index db98126919802b215a6b3f30debb60ab7243fd02..121b0de08a1a78a0b9cb3ca17aecf38d21c31a83 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -4403,6 +4403,22 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="CustomTabs.PredictionStatus" enum="PredictionStatus">
+ <owner>lizeb@chromium.org</owner>
+ <summary>
+ For Custom Tabs, records whether mayLaunchUrl() has been called, and if so,
+ whether the call was later matched by a URL launch.
Ilya Sherman 2015/06/03 22:07:32 When exactly is this recorded? I'm imagining that
Benoit L 2015/06/04 11:16:29 No, there is only one point in the code where this
+ </summary>
+</histogram>
+
+<histogram name="CustomTabs.PredictionToLaunch" units="ms">
Ilya Sherman 2015/06/03 22:07:32 It looks like you're introducing a new group name,
Benoit L 2015/06/04 11:16:29 Thank you for the comment. I looked at the top-lev
Ilya Sherman 2015/06/04 16:35:19 Okay, fair enough. Having a top-level group for a
+ <owner>lizeb@chromium.org</owner>
+ <summary>
+ When a URL prediction succeeds, time in ms between the prediction and the
+ actual launch.
+ </summary>
+</histogram>
+
<histogram name="DataReductionProxy.BlockTypeFallback"
enum="DataReductionProxyBypassType">
<owner>bengr@chromium.org</owner>
@@ -61851,6 +61867,12 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="1" label="The pre-connect triggered host was accessed"/>
</enum>
+<enum name="PredictionStatus" type="int">
+ <int value="0" label="No prediction"/>
+ <int value="1" label="Successful prediction"/>
+ <int value="2" label="Wrong prediction"/>
+</enum>
+
<enum name="PrefetchStatus" type="int">
<int value="0" label="undefined"/>
<int value="1" label="success from cache"/>

Powered by Google App Engine
This is Rietveld 408576698