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

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

Issue 226103003: Log ErrorCode of Geoposition to UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 8 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 d9fcfa784509e970ab671816f522ef5992c3b335..2e75a5f9ad31184ac5e94bc9364e267609552c86 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -7111,6 +7111,12 @@ other types of suffix sets.
<summary>Events in GeolocationInfoBarDelegateAndroid.</summary>
</histogram>
+<histogram name="Geolocation.LocationUpdate.ErrorCode"
+ enum="GeopositionErrorCode">
+ <owner>mvanouwerkerk@chromium.org</owner>
+ <summary>Error code for the geoposition sent to the renderers.</summary>
+</histogram>
+
<histogram name="Geolocation.NetworkLocationRequest.AccessPoints">
<owner>mvanouwerkerk@chromium.org</owner>
<summary>
@@ -33939,6 +33945,13 @@ other types of suffix sets.
<int value="5" label="User ignored the bar"/>
</enum>
+<enum name="GeopositionErrorCode" type="int">
+ <int value="0" label="There was no error"/>
+ <int value="1" label="User denied use of geolocation"/>
+ <int value="2" label="Geoposition could not be determined"/>
+ <int value="3" label="Timeout"/>
+</enum>
+
<enum name="GestureActionType" type="int">
<int value="0" label="Unknown"/>
<int value="1" label="Omnibox pinch"/>

Powered by Google App Engine
This is Rietveld 408576698