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

Issue 2751883003: Reporting: Implement serializer. (Closed)

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

Description

Reporting: Implement serializer. 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. The serializer can serialize and deserialize the data in the cache (and potentially other places eventually, like the endpoint manager's state). It will be used to persist selected state of the Reporting system across browser/embedder restarts. BUG=704259 Review-Url: https://codereview.chromium.org/2751883003 Cr-Commit-Position: refs/heads/master@{#464496} Committed: https://chromium.googlesource.com/chromium/src/+/7da138164fb7dc30540f1340df0fd93b4d417a34

Patch Set 1 #

Patch Set 2 : Reporting: Create serializer #

Patch Set 3 : rebase #

Patch Set 4 : Move after Context CL #

Total comments: 10

Patch Set 5 : Make requested changes; format. #

Patch Set 6 : Move Timer ownership inside Persister; handle initialization properly. #

Patch Set 7 : Add a separate "OnContextInitializing" callback so Persister can reload data before other classes u… #

Patch Set 8 : Make sure to initialize Context. #

Patch Set 9 : rebase #

Total comments: 4

Patch Set 10 : Rework initialization. Again. #

Patch Set 11 : Fix unittest failure #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+628 lines, -23 lines) Patch
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
M net/reporting/reporting_context.h View 1 2 3 4 5 6 7 8 9 5 chunks +18 lines, -0 lines 0 comments Download
M net/reporting/reporting_context.cc View 1 2 3 4 5 6 7 8 9 4 chunks +15 lines, -0 lines 0 comments Download
M net/reporting/reporting_garbage_collector.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M net/reporting/reporting_garbage_collector.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +13 lines, -6 lines 0 comments Download
M net/reporting/reporting_observer.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A net/reporting/reporting_persister.h View 1 2 3 4 5 6 7 8 9 1 chunk +40 lines, -0 lines 0 comments Download
A net/reporting/reporting_persister.cc View 1 2 3 4 5 6 7 8 9 1 chunk +358 lines, -0 lines 0 comments Download
A net/reporting/reporting_persister_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +80 lines, -0 lines 0 comments Download
M net/reporting/reporting_policy.h View 1 2 3 4 5 6 7 8 9 1 chunk +17 lines, -6 lines 0 comments Download
M net/reporting/reporting_policy.cc View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -7 lines 0 comments Download
M net/reporting/reporting_service.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download
M net/reporting/reporting_test_util.h View 1 2 3 4 5 6 7 8 9 5 chunks +23 lines, -1 line 0 comments Download
M net/reporting/reporting_test_util.cc View 1 2 3 4 5 6 7 8 9 3 chunks +30 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (29 generated)
Julia Tuttle
PTAL, shivanisha.
3 years, 9 months ago (2017-03-22 19:19:24 UTC) #6
shivanisha
https://codereview.chromium.org/2751883003/diff/60001/net/reporting/reporting_serializer.cc File net/reporting/reporting_serializer.cc (right): https://codereview.chromium.org/2751883003/diff/60001/net/reporting/reporting_serializer.cc#newcode70 net/reporting/reporting_serializer.cc:70: return false; dcheck group is not empty. Also type ...
3 years, 8 months ago (2017-04-05 18:47:31 UTC) #17
Julia Tuttle
PTAL, shivanisha. https://codereview.chromium.org/2751883003/diff/60001/net/reporting/reporting_serializer.cc File net/reporting/reporting_serializer.cc (right): https://codereview.chromium.org/2751883003/diff/60001/net/reporting/reporting_serializer.cc#newcode70 net/reporting/reporting_serializer.cc:70: return false; On 2017/04/05 18:47:31, shivanisha wrote: ...
3 years, 8 months ago (2017-04-06 20:20:55 UTC) #18
shivanisha
On 2017/04/06 at 20:20:55, juliatuttle wrote: > PTAL, shivanisha. > > https://codereview.chromium.org/2751883003/diff/60001/net/reporting/reporting_serializer.cc > File net/reporting/reporting_serializer.cc ...
3 years, 8 months ago (2017-04-07 14:30:47 UTC) #19
Julia Tuttle
Thanks shivanisha! PTAL csharrison for committer signoff.
3 years, 8 months ago (2017-04-07 16:26:15 UTC) #21
Charlie Harrison
RS LGTM
3 years, 8 months ago (2017-04-07 16:32:06 UTC) #22
Julia Tuttle
PTAL, shivanisha and csharrison; this has changed a bit.
3 years, 8 months ago (2017-04-07 21:49:43 UTC) #23
shivanisha
https://codereview.chromium.org/2751883003/diff/140002/net/reporting/reporting_observer.cc File net/reporting/reporting_observer.cc (right): https://codereview.chromium.org/2751883003/diff/140002/net/reporting/reporting_observer.cc#newcode11 net/reporting/reporting_observer.cc:11: void ReportingObserver::OnContextInitialized() {} There's no implementation of this in ...
3 years, 8 months ago (2017-04-10 18:29:29 UTC) #28
Julia Tuttle
PTAL, shivanisha. https://codereview.chromium.org/2751883003/diff/140002/net/reporting/reporting_observer.cc File net/reporting/reporting_observer.cc (right): https://codereview.chromium.org/2751883003/diff/140002/net/reporting/reporting_observer.cc#newcode11 net/reporting/reporting_observer.cc:11: void ReportingObserver::OnContextInitialized() {} On 2017/04/10 18:29:29, shivanisha ...
3 years, 8 months ago (2017-04-11 19:20:47 UTC) #32
shivanisha
On 2017/04/11 at 19:20:47, juliatuttle wrote: > PTAL, shivanisha. > > https://codereview.chromium.org/2751883003/diff/140002/net/reporting/reporting_observer.cc > File net/reporting/reporting_observer.cc ...
3 years, 8 months ago (2017-04-13 17:05:10 UTC) #36
Julia Tuttle
Thanks, shivanisha! PTAL csharrison for committer signoff.
3 years, 8 months ago (2017-04-13 17:08:34 UTC) #37
Charlie Harrison
LGTM
3 years, 8 months ago (2017-04-13 17:20:32 UTC) #38
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/2751883003/210001
3 years, 8 months ago (2017-04-13 17:22:53 UTC) #40
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 19:19:14 UTC) #43
Message was sent while issue was closed.
Committed patchset #12 (id:210001) as
https://chromium.googlesource.com/chromium/src/+/7da138164fb7dc30540f1340df0f...

Powered by Google App Engine
This is Rietveld 408576698