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

Issue 2178213003: Update RequestTrigger to GestureType in permission report (Closed)

Created:
4 years, 5 months ago by stefanocs
Modified:
4 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-permissions_chromium.org, grt+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

Update RequestTrigger to GestureType in permission report Updated to match the corresponding proto in server side to allow a non boolean value. Changes also made in the permission reporter that a PermissionRequestGestureType enum value will be passed instead of boolean. BUG=613883 Committed: https://crrev.com/f4f51e6797a9794649c5b30104502f75f192b215 Cr-Commit-Position: refs/heads/master@{#408039}

Patch Set 1 #

Patch Set 2 : Update #

Total comments: 14

Patch Set 3 : Resolve nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -57 lines) Patch
M chrome/browser/permissions/permission_uma_util.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/permission_reporter.h View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/permission_reporter.cc View 1 4 chunks +22 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/permission_reporter_unittest.cc View 1 8 chunks +13 lines, -26 lines 0 comments Download
M chrome/browser/safe_browsing/ping_manager.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/ping_manager.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.h View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/safe_browsing/permission_report.proto View 2 chunks +7 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (12 generated)
stefanocs
4 years, 5 months ago (2016-07-26 04:58:51 UTC) #4
kcarattini
https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/permissions/permission_uma_util.cc File chrome/browser/permissions/permission_uma_util.cc (right): https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/permissions/permission_uma_util.cc#newcode393 chrome/browser/permissions/permission_uma_util.cc:393: PermissionRequestGestureType::UNKNOWN); Why not "unspecified" like the report type? https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/safe_browsing/ui_manager.h ...
4 years, 5 months ago (2016-07-26 06:03:27 UTC) #5
stefanocs
https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/permissions/permission_uma_util.cc File chrome/browser/permissions/permission_uma_util.cc (right): https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/permissions/permission_uma_util.cc#newcode393 chrome/browser/permissions/permission_uma_util.cc:393: PermissionRequestGestureType::UNKNOWN); On 2016/07/26 06:03:26, kcarattini wrote: > Why not ...
4 years, 5 months ago (2016-07-26 06:08:31 UTC) #6
kcarattini
lgtm
4 years, 5 months ago (2016-07-26 06:38:39 UTC) #7
raymes
lgtm https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/safe_browsing/permission_reporter.h#newcode25 chrome/browser/safe_browsing/permission_reporter.h:25: enum class PermissionRequestGestureType; AFAIK if you pass an ...
4 years, 4 months ago (2016-07-27 01:42:06 UTC) #8
stefanocs
Thanks! https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2178213003/diff/20001/chrome/browser/safe_browsing/permission_reporter.h#newcode25 chrome/browser/safe_browsing/permission_reporter.h:25: enum class PermissionRequestGestureType; On 2016/07/27 01:42:05, raymes wrote: ...
4 years, 4 months ago (2016-07-27 02:58:19 UTC) #9
stefanocs
jialiul@chromium.org and vakh@chromium.org: Please review changes in chrome/browser/safe_browsing/
4 years, 4 months ago (2016-07-27 02:59:50 UTC) #11
Jialiu Lin
lgtm
4 years, 4 months ago (2016-07-27 03:32:34 UTC) #12
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/2178213003/40001
4 years, 4 months ago (2016-07-27 04:21:25 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-27 04:24:45 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 04:26:09 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f4f51e6797a9794649c5b30104502f75f192b215
Cr-Commit-Position: refs/heads/master@{#408039}

Powered by Google App Engine
This is Rietveld 408576698