• Matt Reynolds's avatar
    Log metrics for the geolocation position cache · 8b06d91a
    Matt Reynolds authored
    When the network location provider is in use, Chrome periodically
    scans for nearby WiFi access points. The MAC addresses of these
    access points are sent to a Google service, which returns a position
    estimate. To limit network traffic when a device is not moving, a
    cache of recent position estimates is maintained. If the set of MAC
    addresses exactly matches a previous query, the cached estimate is
    used instead.
    
    This adds metrics for recording whether a cached value was used. It
    also records how many items were in the cache when the cache is
    queried.
    
    BUG=944320
    
    Change-Id: I385e1f76099207dd9276edc258a958959945058f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532255
    Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
    Reviewed-by: default avatarBrian White <bcwhite@chromium.org>
    Reviewed-by: default avatarMiguel Casas <mcasas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#650536}
    8b06d91a
histograms.xml 5.58 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.