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

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: Add missing period. 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
« no previous file with comments | « content/browser/geolocation/geolocation_dispatcher_host.cc ('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 96de3fcb7e3e381360d796aceb1f8ab6792b94a5..95dafeceac40ec2ca7080e5be170dfb62ffc993e 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>
@@ -34153,6 +34159,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"/>
« no previous file with comments | « content/browser/geolocation/geolocation_dispatcher_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698