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

Issue 252613002: Domain Reliability: More security review. (Closed)

Created:
6 years, 8 months ago by Deprecated (see juliatuttle)
Modified:
6 years, 7 months ago
Reviewers:
DaveMoore, Ryan Sleevi
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Domain Reliability: More security review. Change some trivial stuff so sleevi can do more security review. Also, add rdsmith as an OWNER. BUG=356791 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269434

Patch Set 1 #

Total comments: 112

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Fix one unittest #

Total comments: 16

Patch Set 4 : #

Total comments: 1

Patch Set 5 : s/&*config/config.get()/g #

Total comments: 19

Patch Set 6 : Fix a few more things #

Patch Set 7 : rebase #

Patch Set 8 : Fix mis-commit #

Total comments: 6

Patch Set 9 : Last few nits! #

Patch Set 10 : #include <stdint.h> instead of <cstdint> #

Patch Set 11 : Fix unittest crash #

Patch Set 12 : "#define __STDC_LIMIT_MACROS 1" >.< #

Patch Set 13 : ;_; #

Unified diffs Side-by-side diffs Delta from patch set Stats (+455 lines, -363 lines) Patch
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M components/domain_reliability/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/domain_reliability/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
M components/domain_reliability/bake_in_configs.py View 2 chunks +1 line, -2 lines 0 comments Download
M components/domain_reliability/baked_in_configs.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/domain_reliability/beacon.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M components/domain_reliability/beacon.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M components/domain_reliability/config.h View 1 3 chunks +9 lines, -6 lines 0 comments Download
M components/domain_reliability/config.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +28 lines, -22 lines 0 comments Download
M components/domain_reliability/config_unittest.cc View 1 2 3 4 4 chunks +67 lines, -24 lines 0 comments Download
M components/domain_reliability/context.h View 1 2 3 4 5 6 7 6 chunks +21 lines, -50 lines 0 comments Download
M components/domain_reliability/context.cc View 1 2 3 4 5 6 7 9 chunks +104 lines, -89 lines 0 comments Download
M components/domain_reliability/context_unittest.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +17 lines, -9 lines 0 comments Download
M components/domain_reliability/dispatcher.h View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -19 lines 0 comments Download
M components/domain_reliability/dispatcher.cc View 1 2 3 3 chunks +36 lines, -26 lines 0 comments Download
M components/domain_reliability/domain_reliability_export.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M components/domain_reliability/monitor.h View 1 2 3 4 5 6 7 2 chunks +17 lines, -13 lines 0 comments Download
M components/domain_reliability/monitor.cc View 1 2 3 4 5 6 7 8 chunks +17 lines, -14 lines 0 comments Download
M components/domain_reliability/monitor_unittest.cc View 1 3 chunks +4 lines, -2 lines 0 comments Download
M components/domain_reliability/scheduler.h View 1 4 chunks +16 lines, -11 lines 0 comments Download
M components/domain_reliability/scheduler.cc View 1 2 3 7 chunks +33 lines, -31 lines 0 comments Download
M components/domain_reliability/scheduler_unittest.cc View 1 4 chunks +8 lines, -10 lines 0 comments Download
M components/domain_reliability/test_util.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/domain_reliability/test_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/domain_reliability/uploader.h View 1 1 chunk +9 lines, -2 lines 0 comments Download
M components/domain_reliability/uploader.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M components/domain_reliability/uploader_unittest.cc View 1 2 chunks +6 lines, -4 lines 0 comments Download
M components/domain_reliability/util.h View 1 2 3 2 chunks +12 lines, -9 lines 0 comments Download
M components/domain_reliability/util.cc View 1 2 3 3 chunks +10 lines, -8 lines 0 comments Download
M components/domain_reliability/util_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (0 generated)
Deprecated (see juliatuttle)
PTAL, rleevi ^.^
6 years, 8 months ago (2014-04-24 21:30:41 UTC) #1
Ryan Sleevi
There's a lot here. I'm publishing first remarks, I got up to context_unittest.cc. https://codereview.chromium.org/252613002/diff/1/components/domain_reliability/beacon.cc File ...
6 years, 8 months ago (2014-04-25 01:00:02 UTC) #2
Ryan Sleevi
Up through uploader_unittest - I've largely been skipping the unittest reviews. At least one (potential) ...
6 years, 8 months ago (2014-04-26 02:37:38 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/252613002/diff/1/components/domain_reliability/util.cc File components/domain_reliability/util.cc (right): https://codereview.chromium.org/252613002/diff/1/components/domain_reliability/util.cc#newcode91 components/domain_reliability/util.cc:91: } else { Don't use "else" after a return ...
6 years, 8 months ago (2014-04-26 02:40:27 UTC) #4
Deprecated (see juliatuttle)
PTAL, sleevi. (Note a couple of TODOs I'm working on in the change description.) https://codereview.chromium.org/252613002/diff/1/components/domain_reliability/beacon.cc ...
6 years, 7 months ago (2014-04-28 22:01:12 UTC) #5
Deprecated (see juliatuttle)
PTAL, rsleevi.
6 years, 7 months ago (2014-04-30 22:51:54 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/252613002/diff/20001/components/domain_reliability/config.h File components/domain_reliability/config.h (right): https://codereview.chromium.org/252613002/diff/20001/components/domain_reliability/config.h#newcode42 components/domain_reliability/config.h:42: // it |success_sample_rate| or |failure_sample_rate| to a random number.) ...
6 years, 7 months ago (2014-04-30 23:58:11 UTC) #7
Deprecated (see juliatuttle)
PTAL, sleevi. https://codereview.chromium.org/252613002/diff/30001/components/domain_reliability/config.cc File components/domain_reliability/config.cc (right): https://codereview.chromium.org/252613002/diff/30001/components/domain_reliability/config.cc#newcode27 components/domain_reliability/config.cc:27: static_cast<size_t>(~0); On 2014/04/30 23:58:11, Ryan Sleevi wrote: ...
6 years, 7 months ago (2014-05-02 19:23:40 UTC) #8
Ryan Sleevi
Phew. Almost! I need to take one last full pass - I just did the ...
6 years, 7 months ago (2014-05-03 00:21:36 UTC) #9
Deprecated (see juliatuttle)
On 2014/05/03 00:21:36, Ryan Sleevi wrote: > Phew. Almost! > > I need to take ...
6 years, 7 months ago (2014-05-05 18:38:18 UTC) #10
Ryan Sleevi
A few more nits - mostly asking for more documentation. I'm a little concerned about ...
6 years, 7 months ago (2014-05-05 19:16:03 UTC) #11
Deprecated (see juliatuttle)
PTAL, sleevi. https://codereview.chromium.org/252613002/diff/70001/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/252613002/diff/70001/chrome/browser/profiles/profile_impl_io_data.cc#newcode89 chrome/browser/profiles/profile_impl_io_data.cc:89: const char* kDomainReliabilityUploadReporterString = "chrome"; On 2014/05/05 ...
6 years, 7 months ago (2014-05-06 18:52:03 UTC) #12
Ryan Sleevi
https://codereview.chromium.org/252613002/diff/70001/components/domain_reliability/monitor_unittest.cc File components/domain_reliability/monitor_unittest.cc (right): https://codereview.chromium.org/252613002/diff/70001/components/domain_reliability/monitor_unittest.cc#newcode169 components/domain_reliability/monitor_unittest.cc:169: On 2014/05/06 18:52:03, ttuttle wrote: > On 2014/05/05 19:16:03, ...
6 years, 7 months ago (2014-05-06 19:06:24 UTC) #13
Ryan Sleevi
LGTM with nits https://codereview.chromium.org/252613002/diff/90002/components/domain_reliability/OWNERS File components/domain_reliability/OWNERS (right): https://codereview.chromium.org/252613002/diff/90002/components/domain_reliability/OWNERS#newcode3 components/domain_reliability/OWNERS:3: szym@chromium.org remove szym at some point? ...
6 years, 7 months ago (2014-05-06 22:50:40 UTC) #14
Deprecated (see juliatuttle)
https://codereview.chromium.org/252613002/diff/90002/components/domain_reliability/OWNERS File components/domain_reliability/OWNERS (right): https://codereview.chromium.org/252613002/diff/90002/components/domain_reliability/OWNERS#newcode3 components/domain_reliability/OWNERS:3: szym@chromium.org On 2014/05/06 22:50:41, Ryan Sleevi wrote: > remove ...
6 years, 7 months ago (2014-05-07 02:36:07 UTC) #15
Deprecated (see juliatuttle)
The CQ bit was checked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-07 17:15:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/252613002/180001
6 years, 7 months ago (2014-05-07 17:19:37 UTC) #17
DaveMoore
profiles lgtm
6 years, 7 months ago (2014-05-07 17:46:13 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 21:41:50 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 03:03:01 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 03:37:34 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-05-08 03:37:35 UTC) #22
Deprecated (see juliatuttle)
The CQ bit was checked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-08 15:57:10 UTC) #23
Deprecated (see juliatuttle)
The CQ bit was unchecked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-08 16:00:51 UTC) #24
Deprecated (see juliatuttle)
The CQ bit was checked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-08 17:39:30 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/252613002/210001
6 years, 7 months ago (2014-05-08 17:46:07 UTC) #26
Deprecated (see juliatuttle)
The CQ bit was unchecked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-08 21:27:39 UTC) #27
Deprecated (see juliatuttle)
The CQ bit was checked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-08 21:27:50 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/252613002/210001
6 years, 7 months ago (2014-05-08 21:30:27 UTC) #29
Deprecated (see juliatuttle)
The CQ bit was unchecked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-09 12:09:59 UTC) #30
Deprecated (see juliatuttle)
The CQ bit was checked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-09 12:10:21 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/252613002/210001
6 years, 7 months ago (2014-05-09 12:11:47 UTC) #32
commit-bot: I haz the power
6 years, 7 months ago (2014-05-09 22:18:52 UTC) #33
Message was sent while issue was closed.
Change committed as 269434

Powered by Google App Engine
This is Rietveld 408576698