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

Issue 2073713002: Add field trials and platform to permission report (Closed)

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

Description

Add field trials and platform to permission report BUG=613883 Committed: https://crrev.com/9542b193976dacb41d703f00884c399777f474d3 Cr-Commit-Position: refs/heads/master@{#402628}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Add tests #

Total comments: 14

Patch Set 5 : Move send report with field trials test #

Patch Set 6 : Add error message #

Total comments: 10

Patch Set 7 : Resolve nits #

Total comments: 4

Patch Set 8 : Resolve nits #

Total comments: 6

Patch Set 9 : Move typedef ActiveGroupIdSet #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -2 lines) Patch
M chrome/browser/safe_browsing/permission_reporter.cc View 1 2 3 4 5 6 7 2 chunks +20 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/permission_reporter_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +80 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (8 generated)
stefanocs
This patch will be rebased once 2037693004 is merged, so you don't have to review ...
4 years, 6 months ago (2016-06-17 06:09:51 UTC) #3
raymes
We'll need to add tests for this to the unittest. https://codereview.chromium.org/2073713002/diff/20001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/20001/chrome/browser/safe_browsing/permission_reporter.cc#newcode114 ...
4 years, 6 months ago (2016-06-20 01:32:11 UTC) #4
kcarattini
https://codereview.chromium.org/2073713002/diff/20001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/20001/chrome/browser/safe_browsing/permission_reporter.cc#newcode118 chrome/browser/safe_browsing/permission_reporter.cc:118: variations::GetFieldTrialActiveGroupIds(&active_groups_ids); On 2016/06/20 01:32:11, raymes wrote: > I think ...
4 years, 6 months ago (2016-06-20 20:58:17 UTC) #5
stefanocs
Tests added https://codereview.chromium.org/2073713002/diff/20001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/20001/chrome/browser/safe_browsing/permission_reporter.cc#newcode114 chrome/browser/safe_browsing/permission_reporter.cc:114: report.set_platform_type(PermissionReport::PLATFORM_TYPE_UNSPECIFIED); On 2016/06/20 01:32:11, raymes wrote: > ...
4 years, 6 months ago (2016-06-21 07:01:01 UTC) #6
raymes
Thanks! https://codereview.chromium.org/2073713002/diff/60001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/60001/chrome/browser/safe_browsing/permission_reporter.cc#newcode114 chrome/browser/safe_browsing/permission_reporter.cc:114: #error I think you can add a message ...
4 years, 6 months ago (2016-06-22 01:23:44 UTC) #7
stefanocs
https://codereview.chromium.org/2073713002/diff/60001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/60001/chrome/browser/safe_browsing/permission_reporter.cc#newcode114 chrome/browser/safe_browsing/permission_reporter.cc:114: #error On 2016/06/22 01:23:44, raymes wrote: > I think ...
4 years, 6 months ago (2016-06-22 02:07:06 UTC) #8
raymes
lgtm https://codereview.chromium.org/2073713002/diff/60001/chrome/browser/safe_browsing/permission_reporter_unittest.cc File chrome/browser/safe_browsing/permission_reporter_unittest.cc (right): https://codereview.chromium.org/2073713002/diff/60001/chrome/browser/safe_browsing/permission_reporter_unittest.cc#newcode103 chrome/browser/safe_browsing/permission_reporter_unittest.cc:103: trial_one); On 2016/06/22 02:07:06, stefanocs wrote: > On ...
4 years, 6 months ago (2016-06-22 02:16:27 UTC) #9
raymes
https://codereview.chromium.org/2073713002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc#newcode106 chrome/browser/safe_browsing/permission_reporter.cc:106: report.set_action(PermissionActionForReport(action)); nit: add newline below https://codereview.chromium.org/2073713002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc#newcode115 chrome/browser/safe_browsing/permission_reporter.cc:115: #endif nit: ...
4 years, 6 months ago (2016-06-22 02:18:00 UTC) #10
stefanocs
https://codereview.chromium.org/2073713002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/100001/chrome/browser/safe_browsing/permission_reporter.cc#newcode106 chrome/browser/safe_browsing/permission_reporter.cc:106: report.set_action(PermissionActionForReport(action)); On 2016/06/22 02:17:59, raymes wrote: > nit: add ...
4 years, 6 months ago (2016-06-22 03:40:20 UTC) #11
kcarattini
Just a couple of nits. https://codereview.chromium.org/2073713002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc#newcode118 chrome/browser/safe_browsing/permission_reporter.cc:118: // Collect field trials ...
4 years, 6 months ago (2016-06-24 03:42:35 UTC) #12
stefanocs
https://codereview.chromium.org/2073713002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/120001/chrome/browser/safe_browsing/permission_reporter.cc#newcode118 chrome/browser/safe_browsing/permission_reporter.cc:118: // Collect field trials data. On 2016/06/24 03:42:35, kcarattini ...
4 years, 6 months ago (2016-06-24 05:23:04 UTC) #13
kcarattini
lgtm
4 years, 5 months ago (2016-06-26 21:33:44 UTC) #14
stefanocs
Thanks! nparker@chromium.org: Hi Nathan, please review this cl. Thanks
4 years, 5 months ago (2016-06-27 00:54:39 UTC) #16
Nathan Parker
lgtm https://codereview.chromium.org/2073713002/diff/140001/chrome/browser/safe_browsing/permission_reporter.cc File chrome/browser/safe_browsing/permission_reporter.cc (right): https://codereview.chromium.org/2073713002/diff/140001/chrome/browser/safe_browsing/permission_reporter.cc#newcode120 chrome/browser/safe_browsing/permission_reporter.cc:120: variations::GetFieldTrialActiveGroupIds(&active_group_ids); I'm no expert in fetching field trials ...
4 years, 5 months ago (2016-06-27 18:17:20 UTC) #17
stefanocs
Thanks Nathan. +asvitkine@chromium.org: Please review code for fetching field trials and the test. https://codereview.chromium.org/2073713002/diff/140001/chrome/browser/safe_browsing/permission_reporter.cc File ...
4 years, 5 months ago (2016-06-28 04:51:45 UTC) #19
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2073713002/diff/140001/chrome/browser/safe_browsing/permission_reporter_unittest.cc File chrome/browser/safe_browsing/permission_reporter_unittest.cc (right): https://codereview.chromium.org/2073713002/diff/140001/chrome/browser/safe_browsing/permission_reporter_unittest.cc#newcode23 chrome/browser/safe_browsing/permission_reporter_unittest.cc:23: ActiveGroupIdSet; Nit: Seems strange to typedef this if ...
4 years, 5 months ago (2016-06-28 15:15:27 UTC) #20
stefanocs
Thanks. https://codereview.chromium.org/2073713002/diff/140001/chrome/browser/safe_browsing/permission_reporter_unittest.cc File chrome/browser/safe_browsing/permission_reporter_unittest.cc (right): https://codereview.chromium.org/2073713002/diff/140001/chrome/browser/safe_browsing/permission_reporter_unittest.cc#newcode23 chrome/browser/safe_browsing/permission_reporter_unittest.cc:23: ActiveGroupIdSet; On 2016/06/28 15:15:27, Alexei Svitkine (very slow) ...
4 years, 5 months ago (2016-06-28 23:56:16 UTC) #21
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/2073713002/160001
4 years, 5 months ago (2016-06-28 23:57:43 UTC) #24
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 5 months ago (2016-06-29 01:41:31 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 01:42:59 UTC) #28
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9542b193976dacb41d703f00884c399777f474d3
Cr-Commit-Position: refs/heads/master@{#402628}

Powered by Google App Engine
This is Rietveld 408576698