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

Issue 2689953004: Reporting: Implement header parser. (Closed)

Created:
3 years, 10 months ago by Julia Tuttle
Modified:
3 years, 8 months ago
Reviewers:
shivanisha, jkarlin
CC:
cbentzel+watch_chromium.org, chromium-reviews, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reporting: Implement header parser. Reporting is a spec for delivering out-of-band reports from various other parts of the browser. See http://wicg.github.io/reporting/ for the spec, or https://goo.gl/pygX5I for details of the planned implementation in Chromium. This implements the header parser, which parses Report-To headers and applies the correct updates to the Reporting cache. BUG=704259 Review-Url: https://codereview.chromium.org/2689953004 Cr-Commit-Position: refs/heads/master@{#460434} Committed: https://chromium.googlesource.com/chromium/src/+/1690bc6eba0b829b5250c2e26347a951ed653515

Patch Set 1 #

Patch Set 2 : Actually include new code. #

Patch Set 3 : Finish DelegateImpl implementation #

Total comments: 18

Patch Set 4 : Make requested changes. #

Patch Set 5 : Make sure we sanitize report URLs. #

Patch Set 6 : Add unittests. #

Patch Set 7 : git cl format, tweak #

Patch Set 8 : rebase #

Patch Set 9 : DISALLOW_COPY_AND_ASSIGN #

Total comments: 3

Patch Set 10 : Extract header parser and make static #

Total comments: 6

Patch Set 11 : Make requested changes. #

Total comments: 12

Patch Set 12 : Make requested changes. #

Total comments: 4

Patch Set 13 : Make requested changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -0 lines) Patch
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
A net/reporting/reporting_header_parser.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +53 lines, -0 lines 0 comments Download
A net/reporting/reporting_header_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +97 lines, -0 lines 0 comments Download
A net/reporting/reporting_header_parser_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +111 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (39 generated)
Julia Tuttle
PTAL, shivanisha.
3 years, 9 months ago (2017-02-27 16:28:25 UTC) #11
shivanisha
Added feedback mostly to add comments and some other nits. Thanks! https://codereview.chromium.org/2689953004/diff/40001/net/reporting/reporting_delegate.h File net/reporting/reporting_delegate.h (right): ...
3 years, 9 months ago (2017-03-01 21:51:57 UTC) #12
Julia Tuttle
PTAL, shivanisha. (Unit tests will come later.) https://codereview.chromium.org/2689953004/diff/40001/net/reporting/reporting_delegate.h File net/reporting/reporting_delegate.h (right): https://codereview.chromium.org/2689953004/diff/40001/net/reporting/reporting_delegate.h#newcode15 net/reporting/reporting_delegate.h:15: class NET_EXPORT ...
3 years, 9 months ago (2017-03-06 17:57:51 UTC) #13
shivanisha
Looking good. Added some nits and a clarification regarding the ReportingHeaderParser class. Also, I wasn't ...
3 years, 9 months ago (2017-03-15 23:38:01 UTC) #25
Julia Tuttle
PTAL, shivanisha. https://codereview.chromium.org/2689953004/diff/180001/net/reporting/reporting_header_parser.h File net/reporting/reporting_header_parser.h (right): https://codereview.chromium.org/2689953004/diff/180001/net/reporting/reporting_header_parser.h#newcode23 net/reporting/reporting_header_parser.h:23: class NET_EXPORT ReportingHeaderParser { On 2017/03/15 23:38:01, ...
3 years, 9 months ago (2017-03-21 18:52:33 UTC) #27
shivanisha
On 2017/03/21 at 18:52:33, juliatuttle wrote: > PTAL, shivanisha. > > https://codereview.chromium.org/2689953004/diff/180001/net/reporting/reporting_header_parser.h > File net/reporting/reporting_header_parser.h ...
3 years, 9 months ago (2017-03-27 14:30:22 UTC) #33
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/2689953004/200001
3 years, 9 months ago (2017-03-27 19:53:23 UTC) #35
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 9 months ago (2017-03-27 19:53:25 UTC) #37
Julia Tuttle
PTAL, jkarlin (for committer signoff).
3 years, 8 months ago (2017-03-28 18:03:56 UTC) #39
jkarlin
https://codereview.chromium.org/2689953004/diff/200001/net/reporting/reporting_header_parser.cc File net/reporting/reporting_header_parser.cc (right): https://codereview.chromium.org/2689953004/diff/200001/net/reporting/reporting_header_parser.cc#newcode23 net/reporting/reporting_header_parser.cc:23: if (!url.SchemeIsCryptographic()) You DCHECK this in the cache, should ...
3 years, 8 months ago (2017-03-28 18:29:50 UTC) #40
Julia Tuttle
PTAL, jkarlin. https://codereview.chromium.org/2689953004/diff/200001/net/reporting/reporting_header_parser.cc File net/reporting/reporting_header_parser.cc (right): https://codereview.chromium.org/2689953004/diff/200001/net/reporting/reporting_header_parser.cc#newcode23 net/reporting/reporting_header_parser.cc:23: if (!url.SchemeIsCryptographic()) On 2017/03/28 18:29:50, jkarlin wrote: ...
3 years, 8 months ago (2017-03-28 20:28:55 UTC) #42
jkarlin
lgtm with a couple comments https://codereview.chromium.org/2689953004/diff/220001/net/reporting/reporting_header_parser.cc File net/reporting/reporting_header_parser.cc (right): https://codereview.chromium.org/2689953004/diff/220001/net/reporting/reporting_header_parser.cc#newcode86 net/reporting/reporting_header_parser.cc:86: if (!dict->GetInteger(kMaxAgeKey, &ttl_sec) || ...
3 years, 8 months ago (2017-03-29 11:30:05 UTC) #46
Julia Tuttle
Thanks jkarlin! https://codereview.chromium.org/2689953004/diff/220001/net/reporting/reporting_header_parser.cc File net/reporting/reporting_header_parser.cc (right): https://codereview.chromium.org/2689953004/diff/220001/net/reporting/reporting_header_parser.cc#newcode86 net/reporting/reporting_header_parser.cc:86: if (!dict->GetInteger(kMaxAgeKey, &ttl_sec) || ttl_sec < 0) ...
3 years, 8 months ago (2017-03-29 16:14:54 UTC) #47
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/2689953004/240001
3 years, 8 months ago (2017-03-29 16:15:35 UTC) #50
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 17:21:33 UTC) #54
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/1690bc6eba0b829b5250c2e26347...

Powered by Google App Engine
This is Rietveld 408576698