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

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

Issue 1155423008: hosted: Add two histograms tracking "mayLaunchUrl" usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + Findbugs fix. 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
« no previous file with comments | « chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTab.java ('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 bbc43543f71fd24af2afaba8febc946d3ef81499..0b7b43c457b1fd23422dc1e0c195541df8fd8714 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -4420,6 +4420,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.
+ </summary>
+</histogram>
+
+<histogram name="CustomTabs.PredictionToLaunch" units="ms">
+ <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.AutoLoFiRequestHeaderState"
enum="DataReductionProxyAutoLoFiRequestHeaderState">
<owner>tbansal@chromium.org</owner>
@@ -62350,6 +62366,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"/>
« no previous file with comments | « chrome/android/java_staging/src/org/chromium/chrome/browser/customtabs/CustomTab.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698