New issue
Advanced search Search tips

Issue 675503 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Search geolocation pre disclosure metrics are being recorded too early

Project Member Reported by benwells@chromium.org, Dec 19 2016

Issue description

The metrics are meant to log the state of the geolocation permission of the DSE CCTLD origin immediately before the disclosure could be shown for the first time. The metric is logged slightly too late after the permission is checked, meaning all the values logged are ASK.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Dec 20 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/51cb46ec4e347179835637fe59ace00c707ba074

commit 51cb46ec4e347179835637fe59ace00c707ba074
Author: benwells <benwells@chromium.org>
Date: Tue Dec 20 00:44:05 2016

Record search geolocation pre-disclosure metrics earlier

The metrics are meant to record the distribution of geolocation
permissions for the DSE CCTLD origin, but are recorded after the
permissions are checked. This means all metrics recorded are ASK.

BUG= 675503 

Review-Url: https://codereview.chromium.org/2585153002
Cr-Commit-Position: refs/heads/master@{#439639}

[modify] https://crrev.com/51cb46ec4e347179835637fe59ace00c707ba074/chrome/browser/android/search_geolocation_disclosure_tab_helper.cc

Labels: Merge-Request-56
This has been on stable for some time now and there have been no problems.

Comment 3 by dimu@chromium.org, Dec 28 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)
Project Member

Comment 4 by bugdroid1@chromium.org, Dec 28 2016

Labels: -merge-approved-56 merge-merged-2924
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/48b4ef3b15e8431ff93954be5bc72af1d1a69429

commit 48b4ef3b15e8431ff93954be5bc72af1d1a69429
Author: Ben Wells <benwells@chromium.org>
Date: Wed Dec 28 03:43:03 2016

Record search geolocation pre-disclosure metrics earlier

The metrics are meant to record the distribution of geolocation
permissions for the DSE CCTLD origin, but are recorded after the
permissions are checked. This means all metrics recorded are ASK.

BUG= 675503 

Review-Url: https://codereview.chromium.org/2585153002
Cr-Commit-Position: refs/heads/master@{#439639}
(cherry picked from commit 51cb46ec4e347179835637fe59ace00c707ba074)

Review-Url: https://codereview.chromium.org/2604993002 .
Cr-Commit-Position: refs/branch-heads/2924@{#628}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/48b4ef3b15e8431ff93954be5bc72af1d1a69429/chrome/browser/android/search_geolocation_disclosure_tab_helper.cc

Status: Fixed (was: Started)

Sign in to add a comment