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

Issue 2014573002: Certificate Transparency: Wire the TreeStateTracker up. (Closed)

Created:
4 years, 7 months ago by Eran Messeri
Modified:
4 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Rob Percival, waffles, certificate-transparency-chrome_googlegroups.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Certificate Transparency: Wire the TreeStateTracker up. This change puts into use the TreeStateTracker class by wiring it to: * A global STHDistributor for receiving fresh STHs via the component updater. * The per-profile CTVerifier for receiving notification of verified SCTs that should be checked for inclusion. As discussed with sorin and rsleevi, the wiring of the STHSetComponentInstaller is via a globally-accessible STHDistributor, created by the IOThread. BUG=613501 Committed: https://crrev.com/3c2d643cded7d3c68510aa69b08a19b2ac465740 Cr-Commit-Position: refs/heads/master@{#397096}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Merging with master #

Total comments: 4

Patch Set 3 : Fixing tests, adding comments #

Total comments: 4

Patch Set 4 : Fixing DCHECKs #

Total comments: 4

Patch Set 5 : Addressing Lei's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -16 lines) Patch
M chrome/browser/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/component_updater/sth_set_component_installer.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/sth_set_component_installer.cc View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/component_updater/sth_set_component_installer_unittest.cc View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/io_thread.h View 1 4 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 7 chunks +34 lines, -0 lines 0 comments Download
A chrome/browser/net/sth_distributor_provider.h View 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/net/sth_distributor_provider.cc View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 4 chunks +17 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
Eran Messeri
Ryan, Sorin, PTAL.
4 years, 7 months ago (2016-05-25 15:01:42 UTC) #3
Sorin Jianu
Thank you Eran. I sent a couple of questions to start with. https://codereview.chromium.org/2014573002/diff/1/chrome/browser/component_updater/sth_set_component_installer.h File chrome/browser/component_updater/sth_set_component_installer.h ...
4 years, 7 months ago (2016-05-25 16:17:48 UTC) #4
Eran Messeri
Sorin, PTAL. https://codereview.chromium.org/2014573002/diff/1/chrome/browser/component_updater/sth_set_component_installer.h File chrome/browser/component_updater/sth_set_component_installer.h (right): https://codereview.chromium.org/2014573002/diff/1/chrome/browser/component_updater/sth_set_component_installer.h#newcode75 chrome/browser/component_updater/sth_set_component_installer.h:75: net::ct::STHObserver* sth_observer_; On 2016/05/25 16:17:48, Sorin Jianu ...
4 years, 7 months ago (2016-05-25 16:26:18 UTC) #5
Sorin Jianu
lgtm thank you Eran! https://codereview.chromium.org/2014573002/diff/20001/chrome/browser/component_updater/sth_set_component_installer.h File chrome/browser/component_updater/sth_set_component_installer.h (right): https://codereview.chromium.org/2014573002/diff/20001/chrome/browser/component_updater/sth_set_component_installer.h#newcode75 chrome/browser/component_updater/sth_set_component_installer.h:75: net::ct::STHObserver* sth_observer_; A comment would ...
4 years, 7 months ago (2016-05-25 17:54:45 UTC) #6
Eran Messeri
https://codereview.chromium.org/2014573002/diff/20001/chrome/browser/component_updater/sth_set_component_installer.h File chrome/browser/component_updater/sth_set_component_installer.h (right): https://codereview.chromium.org/2014573002/diff/20001/chrome/browser/component_updater/sth_set_component_installer.h#newcode75 chrome/browser/component_updater/sth_set_component_installer.h:75: net::ct::STHObserver* sth_observer_; On 2016/05/25 17:54:45, Sorin Jianu wrote: > ...
4 years, 7 months ago (2016-05-26 09:51:22 UTC) #7
Ryan Sleevi
LGTM https://codereview.chromium.org/2014573002/diff/40001/chrome/browser/component_updater/sth_set_component_installer.cc File chrome/browser/component_updater/sth_set_component_installer.cc (right): https://codereview.chromium.org/2014573002/diff/40001/chrome/browser/component_updater/sth_set_component_installer.cc#newcode189 chrome/browser/component_updater/sth_set_component_installer.cc:189: DCHECK(distributor != nullptr); DCHECK(distributor) (Rely on boolean conversion) ...
4 years, 6 months ago (2016-05-27 04:59:53 UTC) #8
Eran Messeri
Thanks for the quick review, sending to a chrome/ OWNER for review. https://codereview.chromium.org/2014573002/diff/40001/chrome/browser/component_updater/sth_set_component_installer.cc File chrome/browser/component_updater/sth_set_component_installer.cc ...
4 years, 6 months ago (2016-05-27 08:43:54 UTC) #9
Eran Messeri
Lei, please review this change for wiring an IOThread code to Component Updater code. Reasoning ...
4 years, 6 months ago (2016-05-27 08:45:58 UTC) #11
Lei Zhang
lgtm https://codereview.chromium.org/2014573002/diff/60001/chrome/browser/component_updater/sth_set_component_installer.cc File chrome/browser/component_updater/sth_set_component_installer.cc (right): https://codereview.chromium.org/2014573002/diff/60001/chrome/browser/component_updater/sth_set_component_installer.cc#newcode186 chrome/browser/component_updater/sth_set_component_installer.cc:186: net::ct::STHDistributor* distributor( nit: Can you assign pointers with ...
4 years, 6 months ago (2016-05-27 18:24:32 UTC) #12
Eran Messeri
Thanks all for the quick review, addressed Lei's comments, will submit assuming the trybots are ...
4 years, 6 months ago (2016-05-31 11:30:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014573002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014573002/80001
4 years, 6 months ago (2016-05-31 14:04:45 UTC) #16
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/79057)
4 years, 6 months ago (2016-05-31 16:59:36 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014573002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014573002/80001
4 years, 6 months ago (2016-06-01 09:17:18 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-01 10:17:41 UTC) #22
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 10:19:01 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3c2d643cded7d3c68510aa69b08a19b2ac465740
Cr-Commit-Position: refs/heads/master@{#397096}

Powered by Google App Engine
This is Rietveld 408576698