forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
geolocation: Add metrics for Geolocation accuracy, mode, and source
This CL adds new metrics to track accuracy value, the mode and provider source of LocationProviderManager of a valid Geoposition. Bug: 366493546 Change-Id: I75b67ed06f14f3fe31fd7d3854c7b1d10329157e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5855586 Commit-Queue: Jack Hsieh <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Tom Sepez <[email protected]> Cr-Commit-Position: refs/heads/main@{#1357353}
- Loading branch information
1 parent
11263b1
commit 6aa5080
Showing
4 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,20 @@ [email protected]. | |
<int value="4" label="Authorized when in-use"/> | ||
</enum> | ||
|
||
<enum name="LocationProviderManagerMode"> | ||
<int value="0" label="kNetworkOnly"/> | ||
<int value="1" label="kPlatformOnly"/> | ||
<int value="2" label="kCustomOnly"/> | ||
<int value="3" label="kHybridPlatform"/> | ||
<int value="4" label="kHybridFallbackNetwork"/> | ||
</enum> | ||
|
||
<enum name="LocationProviderManagerSource"> | ||
<int value="0" label="kNetworkProvider"/> | ||
<int value="1" label="kPlatformProvider"/> | ||
<int value="2" label="kCustomProvider"/> | ||
</enum> | ||
|
||
<enum name="LocationSystemPermissionStatus"> | ||
<int value="0" label="kNotDetermined"/> | ||
<int value="1" label="kDenied"/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,26 @@ [email protected]. | |
<summary>iOS location permission state, recorded at startup.</summary> | ||
</histogram> | ||
|
||
<histogram name="Geolocation.LocationProviderManager.Mode" | ||
enum="LocationProviderManagerMode" expires_after="2026-09-10"> | ||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
Records the mode of the LocationProviderManager that acquires a valid | ||
Geoposition. | ||
</summary> | ||
</histogram> | ||
|
||
<histogram name="Geolocation.LocationProviderManager.Source" | ||
enum="LocationProviderManagerSource" expires_after="2026-09-10"> | ||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
Records the location provider source of the LocationProviderManager that | ||
acquires a valid Geoposition. | ||
</summary> | ||
</histogram> | ||
|
||
<histogram name="Geolocation.LocationProviderWinrt.CreateGeoposition" | ||
enum="Hresult" expires_after="2026-08-05"> | ||
<owner>[email protected]</owner> | ||
|