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

Issue 2793253002: Log metrics for the new Default Search Engine geolocation setting. (Closed)

Created:
3 years, 8 months ago by benwells
Modified:
3 years, 8 months ago
Reviewers:
raymes, Ilya Sherman, gone
CC:
chromium-reviews, asvitkine+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Log metrics for the new Default Search Engine geolocation setting. Recently a new system was introduced which added a preference for whether the default search engine has geolocation access or not. This change adds metrics for the state of this setting before the disclosure UI is shown and after the disclosure UI is shown for the last time. BUG=700777 Review-Url: https://codereview.chromium.org/2793253002 Cr-Commit-Position: refs/heads/master@{#463204} Committed: https://chromium.googlesource.com/chromium/src/+/5754a56b61f227091f272bc84bfb212b9ba78416

Patch Set 1 #

Total comments: 2

Patch Set 2 : With test #

Total comments: 4

Patch Set 3 : Use BooleanAllowed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -0 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/infobar/SearchGeolocationDisclosureInfoBarTest.java View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (15 generated)
benwells
3 years, 8 months ago (2017-04-04 06:58:11 UTC) #5
benwells
+isherman for histograms.xml I realize now these should be Geolocation.Disclosure.*. There are preexisting GeolocationDisclosure.* metrics... ...
3 years, 8 months ago (2017-04-04 07:00:04 UTC) #8
raymes
https://codereview.chromium.org/2793253002/diff/1/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc File chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc (right): https://codereview.chromium.org/2793253002/diff/1/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc#newcode239 chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc:239: service->GetDSEGeolocationSetting()); Sorry my memory on this code isn't the ...
3 years, 8 months ago (2017-04-04 22:36:39 UTC) #9
benwells
https://codereview.chromium.org/2793253002/diff/1/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc File chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc (right): https://codereview.chromium.org/2793253002/diff/1/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc#newcode239 chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc:239: service->GetDSEGeolocationSetting()); On 2017/04/04 22:36:39, raymes wrote: > Sorry my ...
3 years, 8 months ago (2017-04-05 08:39:50 UTC) #10
benwells
Now with a test
3 years, 8 months ago (2017-04-06 11:16:11 UTC) #15
raymes
lgtm, thanks for adding the test!
3 years, 8 months ago (2017-04-07 03:02:37 UTC) #16
benwells
actually +isherman this time +dfalcantara for java test
3 years, 8 months ago (2017-04-07 03:03:41 UTC) #18
Ilya Sherman
I'm kind of curious how you plan to use these metrics in analysis. You're going ...
3 years, 8 months ago (2017-04-07 08:09:33 UTC) #19
benwells
On 2017/04/07 08:09:33, Ilya Sherman wrote: > I'm kind of curious how you plan to ...
3 years, 8 months ago (2017-04-07 08:32:01 UTC) #20
gone
lgtm
3 years, 8 months ago (2017-04-07 17:10:34 UTC) #21
benwells
https://codereview.chromium.org/2793253002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2793253002/diff/20001/tools/metrics/histograms/histograms.xml#newcode21338 tools/metrics/histograms/histograms.xml:21338: +<histogram name="GeolocationDisclosure.PostDisclosureDSESetting" enum="Boolean"> On 2017/04/07 08:09:33, Ilya Sherman wrote: ...
3 years, 8 months ago (2017-04-10 08:41:45 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2793253002/40001
3 years, 8 months ago (2017-04-10 08:42:08 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 09:43:00 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5754a56b61f227091f272bc84bfb...

Powered by Google App Engine
This is Rietveld 408576698