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

Issue 2124703002: Record metrics for permission prompt acceptance vs. user gesture. (Closed)

Created:
4 years, 5 months ago by benwells
Modified:
4 years, 5 months ago
Reviewers:
tsergeant, Ilya Sherman
CC:
chromium-reviews, mlamouri+watch-permissions_chromium.org, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record metrics for permission prompt acceptance vs. user gesture. These metrics will allow us to compare acceptance rates for permission prompts based on whether the prompt had a user gesture or not. BUG=614599 Committed: https://crrev.com/471d1f1120f2018e815b3d47989ab1cbadeb5a17 Cr-Commit-Position: refs/heads/master@{#407638}

Patch Set 1 #

Patch Set 2 : Add histograms #

Total comments: 2

Patch Set 3 : Woops #

Patch Set 4 : Rebase #

Patch Set 5 : Suffixised #

Patch Set 6 : wups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -47 lines) Patch
M chrome/browser/permissions/mock_permission_request.h View 1 2 3 3 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/permissions/mock_permission_request.cc View 1 2 3 3 chunks +37 lines, -23 lines 0 comments Download
M chrome/browser/permissions/permission_context_base.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/permissions/permission_request.h View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_request.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_request_impl.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_request_impl.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_request_manager_unittest.cc View 1 2 3 4 5 chunks +49 lines, -10 lines 0 comments Download
M chrome/browser/permissions/permission_uma_util.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_uma_util.cc View 1 2 3 4 6 chunks +49 lines, -6 lines 0 comments Download
A chrome/browser/ui/website_settings/permission_bubble_request.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
benwells
4 years, 5 months ago (2016-07-05 07:55:28 UTC) #2
tsergeant
https://codereview.chromium.org/2124703002/diff/20001/chrome/browser/permissions/permission_bubble_request_impl.cc File chrome/browser/permissions/permission_bubble_request_impl.cc (right): https://codereview.chromium.org/2124703002/diff/20001/chrome/browser/permissions/permission_bubble_request_impl.cc#newcode24 chrome/browser/permissions/permission_bubble_request_impl.cc:24: permission_type_(permission_type), Shouldn't has_gesture_ be initialized in here?
4 years, 5 months ago (2016-07-06 00:28:48 UTC) #3
benwells
https://codereview.chromium.org/2124703002/diff/20001/chrome/browser/permissions/permission_bubble_request_impl.cc File chrome/browser/permissions/permission_bubble_request_impl.cc (right): https://codereview.chromium.org/2124703002/diff/20001/chrome/browser/permissions/permission_bubble_request_impl.cc#newcode24 chrome/browser/permissions/permission_bubble_request_impl.cc:24: permission_type_(permission_type), On 2016/07/06 00:28:47, tsergeant wrote: > Shouldn't has_gesture_ ...
4 years, 5 months ago (2016-07-06 01:14:01 UTC) #4
tsergeant
lgtm
4 years, 5 months ago (2016-07-06 01:29:29 UTC) #5
benwells
4 years, 5 months ago (2016-07-06 01:38:58 UTC) #7
benwells
(meant to say, +isherman for histograms)
4 years, 5 months ago (2016-07-06 01:39:30 UTC) #8
Ilya Sherman
histograms lgtm, though it's not quite clear to me what "has gesture" vs "no gesture" ...
4 years, 5 months ago (2016-07-06 23:02:16 UTC) #9
Ilya Sherman
Oh! By the way, you might want to use histogram_suffixes elements to reduce the amount ...
4 years, 5 months ago (2016-07-06 23:03:12 UTC) #10
benwells
On 2016/07/06 23:03:12, Ilya Sherman wrote: > Oh! By the way, you might want to ...
4 years, 5 months ago (2016-07-25 07:31:34 UTC) #16
Ilya Sherman
On 2016/07/25 07:31:34, benwells wrote: > On 2016/07/06 23:03:12, Ilya Sherman wrote: > > Oh! ...
4 years, 5 months ago (2016-07-25 18:50:10 UTC) #17
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/2124703002/120001
4 years, 5 months ago (2016-07-25 22:07:51 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 5 months ago (2016-07-25 23:58:21 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-26 00:03:17 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/471d1f1120f2018e815b3d47989ab1cbadeb5a17
Cr-Commit-Position: refs/heads/master@{#407638}

Powered by Google App Engine
This is Rietveld 408576698