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

Issue 2024753002: Add permission reporter skeleton (Closed)

Created:
4 years, 6 months ago by stefanocs
Modified:
4 years, 6 months ago
CC:
chromium-reviews, grt+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@protocol-buffer-for-permission-reports
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add permission reporter skeleton for permission action reporting to SafeBrowsing servers. BUG=613883 Committed: https://crrev.com/4169c6ebee28555870861cbc0dc2625c38f7f06f Cr-Commit-Position: refs/heads/master@{#398461}

Patch Set 1 #

Total comments: 26

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Total comments: 12

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : Change SendReport function signature #

Total comments: 6

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Total comments: 2

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -0 lines) Patch
A chrome/browser/safe_browsing/permission_reporter.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/permission_reporter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 52 (17 generated)
stefanocs
4 years, 6 months ago (2016-05-31 01:44:22 UTC) #3
kcarattini
https://codereview.chromium.org/2024753002/diff/1/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/1/chrome/browser/safe_browsing/permission_reporter.cc#newcode26 chrome/browser/safe_browsing/permission_reporter.cc:26: // TODO(stefanocs): Implement SendReport function Add a full stop. ...
4 years, 6 months ago (2016-05-31 03:13:38 UTC) #4
stefanocs
https://codereview.chromium.org/2024753002/diff/1/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/1/chrome/browser/safe_browsing/permission_reporter.cc#newcode12 chrome/browser/safe_browsing/permission_reporter.cc:12: net::URLRequestContext* request_context, Should I move this up to the ...
4 years, 6 months ago (2016-05-31 03:34:23 UTC) #5
kcarattini
https://codereview.chromium.org/2024753002/diff/1/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/1/chrome/browser/safe_browsing/permission_reporter.cc#newcode12 chrome/browser/safe_browsing/permission_reporter.cc:12: net::URLRequestContext* request_context, On 2016/05/31 03:34:22, stefanocs wrote: > Should ...
4 years, 6 months ago (2016-05-31 03:53:36 UTC) #6
stefanocs
https://codereview.chromium.org/2024753002/diff/1/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/1/chrome/browser/safe_browsing/permission_reporter.cc#newcode12 chrome/browser/safe_browsing/permission_reporter.cc:12: net::URLRequestContext* request_context, On 2016/05/31 03:53:36, kcarattini wrote: > On ...
4 years, 6 months ago (2016-05-31 04:04:13 UTC) #7
stefanocs
https://codereview.chromium.org/2024753002/diff/40001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2024753002/diff/40001/chrome/browser/safe_browsing/permission_reporter.h#newcode41 chrome/browser/safe_browsing/permission_reporter.h:41: static PermissionReport BuildReport(const GURL& origin, Would it be better ...
4 years, 6 months ago (2016-05-31 04:17:57 UTC) #8
kcarattini
https://codereview.chromium.org/2024753002/diff/40001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2024753002/diff/40001/chrome/browser/safe_browsing/permission_reporter.h#newcode41 chrome/browser/safe_browsing/permission_reporter.h:41: static PermissionReport BuildReport(const GURL& origin, On 2016/05/31 04:17:56, stefanocs ...
4 years, 6 months ago (2016-05-31 04:27:34 UTC) #9
stefanocs
https://codereview.chromium.org/2024753002/diff/40001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2024753002/diff/40001/chrome/browser/safe_browsing/permission_reporter.h#newcode41 chrome/browser/safe_browsing/permission_reporter.h:41: static PermissionReport BuildReport(const GURL& origin, On 2016/05/31 04:27:34, kcarattini ...
4 years, 6 months ago (2016-05-31 04:43:38 UTC) #10
kcarattini
https://codereview.chromium.org/2024753002/diff/60001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2024753002/diff/60001/chrome/browser/safe_browsing/permission_reporter.h#newcode42 chrome/browser/safe_browsing/permission_reporter.h:42: PermissionAction action); Actually, you can add a final argument ...
4 years, 6 months ago (2016-05-31 04:56:22 UTC) #11
stefanocs
https://codereview.chromium.org/2024753002/diff/60001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2024753002/diff/60001/chrome/browser/safe_browsing/permission_reporter.h#newcode42 chrome/browser/safe_browsing/permission_reporter.h:42: PermissionAction action); On 2016/05/31 04:56:22, kcarattini wrote: > Actually, ...
4 years, 6 months ago (2016-05-31 05:05:26 UTC) #12
kcarattini
https://codereview.chromium.org/2024753002/diff/60001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2024753002/diff/60001/chrome/browser/safe_browsing/permission_reporter.h#newcode42 chrome/browser/safe_browsing/permission_reporter.h:42: PermissionAction action); On 2016/05/31 05:05:26, stefanocs wrote: > On ...
4 years, 6 months ago (2016-05-31 07:02:28 UTC) #13
stefanocs
https://codereview.chromium.org/2024753002/diff/60001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2024753002/diff/60001/chrome/browser/safe_browsing/permission_reporter.h#newcode42 chrome/browser/safe_browsing/permission_reporter.h:42: PermissionAction action); On 2016/05/31 07:02:28, kcarattini wrote: > On ...
4 years, 6 months ago (2016-05-31 07:06:07 UTC) #14
kcarattini
LGTM. Nathan, please take a look.
4 years, 6 months ago (2016-05-31 07:07:32 UTC) #16
Nathan Parker
https://codereview.chromium.org/2024753002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc#newcode12 chrome/browser/safe_browsing/permission_reporter.cc:12: PermissionReporter::PermissionReporter(net::URLRequestContext* request_context, How about having the URL hardcoded in ...
4 years, 6 months ago (2016-05-31 22:24:57 UTC) #17
stefanocs
https://codereview.chromium.org/2024753002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc#newcode12 chrome/browser/safe_browsing/permission_reporter.cc:12: PermissionReporter::PermissionReporter(net::URLRequestContext* request_context, On 2016/05/31 22:24:57, Nathan Parker wrote: > ...
4 years, 6 months ago (2016-06-01 01:36:34 UTC) #18
raymes
https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc#newcode20 chrome/browser/safe_browsing/permission_reporter.cc:20: : upload_url_(GURL(kPermissionActionReportingUploadUrl)) {} nit: I think you should be ...
4 years, 6 months ago (2016-06-01 06:45:45 UTC) #20
stefanocs
https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc#newcode20 chrome/browser/safe_browsing/permission_reporter.cc:20: : upload_url_(GURL(kPermissionActionReportingUploadUrl)) {} On 2016/06/01 06:45:44, raymes wrote: > ...
4 years, 6 months ago (2016-06-01 07:25:02 UTC) #21
kcarattini
https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc#newcode27 chrome/browser/safe_browsing/permission_reporter.cc:27: On 2016/06/01 07:25:02, stefanocs wrote: > On 2016/06/01 06:45:44, ...
4 years, 6 months ago (2016-06-01 12:25:49 UTC) #22
stefanocs
https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc#newcode27 chrome/browser/safe_browsing/permission_reporter.cc:27: On 2016/06/01 12:25:49, kcarattini wrote: > On 2016/06/01 07:25:02, ...
4 years, 6 months ago (2016-06-02 00:24:33 UTC) #23
kcarattini
On 2016/06/02 00:24:33, stefanocs wrote: > https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc > File chrome/browser/safe_browsing/permission_reporter.cc (right): > > https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc#newcode27 > ...
4 years, 6 months ago (2016-06-02 03:30:30 UTC) #24
stefanocs
https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.h File chrome/browser/safe_browsing/permission_reporter.h (right): https://codereview.chromium.org/2024753002/diff/120001/chrome/browser/safe_browsing/permission_reporter.h#newcode34 chrome/browser/safe_browsing/permission_reporter.h:34: void SendReport(const std::string& serialized_report); On 2016/06/01 06:45:45, raymes wrote: ...
4 years, 6 months ago (2016-06-02 04:31:05 UTC) #25
raymes
lgtm!
4 years, 6 months ago (2016-06-06 01:45:21 UTC) #26
Nathan Parker
lgtm https://codereview.chromium.org/2024753002/diff/180001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/180001/chrome/browser/safe_browsing/permission_reporter.cc#newcode15 chrome/browser/safe_browsing/permission_reporter.cc:15: static const char kPermissionActionReportingUploadUrl[] = No need to ...
4 years, 6 months ago (2016-06-06 22:55:49 UTC) #27
stefanocs
https://codereview.chromium.org/2024753002/diff/180001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/180001/chrome/browser/safe_browsing/permission_reporter.cc#newcode15 chrome/browser/safe_browsing/permission_reporter.cc:15: static const char kPermissionActionReportingUploadUrl[] = On 2016/06/06 22:55:49, Nathan ...
4 years, 6 months ago (2016-06-07 03:07:44 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024753002/200001
4 years, 6 months ago (2016-06-07 03:09:36 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/77563) chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 6 months ago (2016-06-07 03:27:55 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024753002/220001
4 years, 6 months ago (2016-06-07 03:31:57 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/212133)
4 years, 6 months ago (2016-06-07 03:48:11 UTC) #38
stefanocs
https://codereview.chromium.org/2024753002/diff/260001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/260001/chrome/browser/safe_browsing/permission_reporter.cc#newcode29 chrome/browser/safe_browsing/permission_reporter.cc:29: ALLOW_UNUSED_LOCAL(kPermissionActionReportingUploadUrl); Since the constant is now unused in this ...
4 years, 6 months ago (2016-06-07 06:02:09 UTC) #39
Nathan Parker
lgtm https://codereview.chromium.org/2024753002/diff/260001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2024753002/diff/260001/chrome/browser/safe_browsing/permission_reporter.cc#newcode29 chrome/browser/safe_browsing/permission_reporter.cc:29: ALLOW_UNUSED_LOCAL(kPermissionActionReportingUploadUrl); On 2016/06/07 06:02:09, stefanocs wrote: > Since ...
4 years, 6 months ago (2016-06-07 15:47:31 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024753002/260001
4 years, 6 months ago (2016-06-07 23:30:58 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/83675)
4 years, 6 months ago (2016-06-07 23:45:18 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024753002/280001
4 years, 6 months ago (2016-06-08 01:25:29 UTC) #48
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 6 months ago (2016-06-08 02:12:16 UTC) #50
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 02:14:35 UTC) #52
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/4169c6ebee28555870861cbc0dc2625c38f7f06f
Cr-Commit-Position: refs/heads/master@{#398461}

Powered by Google App Engine
This is Rietveld 408576698