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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2576633002: Add histograms for location timings for Android omnibox queries. (Closed)
Patch Set: Address comments. Use histogram_suffixes. Created 4 years 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/src/org/chromium/chrome/browser/omnibox/geo/GeolocationHeader.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 168e7f1d8d98a2386989a883126132cb98306c9a..8cfaf9a39f6e76ef9ca4fe9ee9389611164f875f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -19356,6 +19356,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Geolocation.Header.LocationAge" units="ms">
Ilya Sherman 2016/12/15 23:06:19 nit: Please add the base="true" attribute, which j
pdyson 2016/12/16 05:03:31 Done. See below for issue with base="true" in his
+ <owner>kcarattini@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ For Geolocation requests from the omnibox on Android, the time since the
+ location was most recently acquired.
Ilya Sherman 2016/12/15 23:06:19 What's recorded here if no location has been acqui
pdyson 2016/12/16 05:03:31 Done.
+ </summary>
+</histogram>
+
<histogram name="Geolocation.Header.PermissionState"
enum="GeolocationHeaderPermissionState">
<owner>kcarattini@chromium.org</owner>
@@ -19367,6 +19376,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Geolocation.Header.TimeListening" units="ms">
+ <owner>kcarattini@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ For Geolocation requests from the omnibox on Android, the time since the
+ location was first acquired. If no location has been aquired, the maximum
Ilya Sherman 2016/12/15 23:06:19 nit: s/aquired/acquired
pdyson 2016/12/16 05:03:31 Done.
+ bucket is incremented.
+ </summary>
+</histogram>
+
<histogram name="Geolocation.InfoBarDelegate.Event"
enum="GeolocationInfoBarDelegateEvent">
<obsolete>
@@ -110428,6 +110447,40 @@ value.
<affected-histogram name="LocalStorage.RendererTimeToPrimeLocalStorage"/>
</histogram_suffixes>
+<histogram_suffixes name="LocationMode">
Ilya Sherman 2016/12/15 23:06:19 nit: I think you need to specify separator=".", as
pdyson 2016/12/16 05:03:31 Done.
+ <suffix name="BatterySaving"
+ label="This histogram is for location mode Battery Saving."/>
+ <suffix name="GpsOnly" label="This histogram is for location mode GPS Only."/>
+ <suffix name="HighAccuracy"
+ label="This histogram is for location mode High Accuracy."/>
+ <affected-histogram name="Geolocation.Header.LocationAge"/>
+</histogram_suffixes>
+
+<histogram_suffixes name="LocationModeAttachedStatus">
+ <suffix name="BatterySavingLocationAttached"
+ label="This histogram is for location mode Battery Saving when the
+ location was successfully attached to the request."/>
+ <suffix name="GpsOnlyLocationAttached"
+ label="This histogram is for location mode GPS Only when the location
+ was successfully attached to the request."/>
+ <suffix name="HighAccuracyLocationAttached"
+ label="This histogram is for location mode High Accuracy when the
+ location was successfully attached to the request."/>
+ <suffix name="BatterySavingLocationNotAttached"
+ label="This histogram is for location mode Battery Saving when the
+ location was not attached to the request. A location may not be
+ attached if it is too old or if the permissions do not allow it."/>
+ <suffix name="GpsOnlyLocationNotAttached"
+ label="This histogram is for location mode GPS Only when the location
+ was not attached to the request. A location may not be attached
+ if it is too old or if the permissions do not allow it."/>
+ <suffix name="HighAccuracyLocationNotAttached"
+ label="This histogram is for location mode High Accuracy when the
+ location was not attached to the request. A location may not be
+ attached if it is too old or if the permissions do not allow it."/>
Ilya Sherman 2016/12/15 23:06:19 You can use two levels of histogram_suffixes for t
pdyson 2016/12/16 05:03:31 Done. In histogram_suffixes the base="true" attri
Ilya Sherman 2016/12/16 08:57:30 Yep, that's fine -- the base="true" attribute just
+ <affected-histogram name="Geolocation.Header.TimeListening"/>
+</histogram_suffixes>
+
<histogram_suffixes name="LockExistingCachedImage" separator=".">
<suffix name="Software.EVENTUALLY" label="Eventually bin for software"/>
<suffix name="Software.NOW" label="Now bin for software"/>
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/omnibox/geo/GeolocationHeader.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698