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

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

Issue 2576633002: Add histograms for location timings for Android omnibox queries. (Closed)
Patch Set: Suppress nullcheck warning, Created 3 years, 12 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/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 4e22c187711f934812506099cf16e385d94c65cb..a865533c31d74db76682e515ca6877f2f41ff48e 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -19496,6 +19496,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram base="true" name="Geolocation.Header.LocationAge" units="seconds">
+ <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. If no location has been acquired, the
+ maximum bucket is incremented.
+ </summary>
+</histogram>
+
<histogram name="Geolocation.Header.PermissionState"
enum="GeolocationHeaderPermissionState">
<owner>kcarattini@chromium.org</owner>
@@ -19507,6 +19517,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram base="true" 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 acquired, the maximum
+ bucket is incremented.
+ </summary>
+</histogram>
+
<histogram name="Geolocation.InfoBarDelegate.Event"
enum="GeolocationInfoBarDelegateEvent">
<obsolete>
@@ -111196,6 +111216,29 @@ value.
<affected-histogram name="LocalStorage.RendererTimeToPrimeLocalStorage"/>
</histogram_suffixes>
+<histogram_suffixes name="LocationAttachedStatus" separator=".">
+ <suffix name="LocationAttached"
+ label="This histogram is for when the location was successfully
+ attached to the request."/>
+ <suffix name="LocationNotAttached"
+ label="This histogram is for 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."/>
+ <affected-histogram name="Geolocation.Header.TimeListening.BatterySaving"/>
+ <affected-histogram name="Geolocation.Header.TimeListening.GpsOnly"/>
+ <affected-histogram name="Geolocation.Header.TimeListening.HighAccuracy"/>
+</histogram_suffixes>
+
+<histogram_suffixes name="LocationMode" separator=".">
+ <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"/>
+ <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