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

Issue 1853753003: Certificate Transparency: New component for obtaining fresh STHs. (Closed)

Created:
4 years, 8 months ago by Eran Messeri
Modified:
4 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, Ryan Sleevi, davidben, certificate-transparency-chrome_googlegroups.com, Rob Percival
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Certificate Transparency: New component for obtaining fresh STHs. This component is for receiving and parsing Signed Tree Heads collected by Google from Certificate Transparency logs and distributed to Chrome clients. It is the first step in checking for inclusion of CT log entries from Chrome. Design document: https://docs.google.com/document/d/1FP5J5Sfsg0OR9P4YT0q1dM02iavhi8ix1mZlZe_z-ls/view BUG=506227 Committed: https://crrev.com/9e1935c26148f42c6fe453cd380207c45934b944 Cr-Commit-Position: refs/heads/master@{#385903}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Ready for review #

Total comments: 29

Patch Set 3 : Addressing review comments #

Patch Set 4 : Fixing compilation errors on ChromeOS #

Total comments: 32

Patch Set 5 : Ryan's comments, STHDistributor moved #

Total comments: 10

Patch Set 6 : Address comments by sorin & waffles #

Patch Set 7 : Address comments by sorin & waffles #

Total comments: 16

Patch Set 8 : Addressing review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+599 lines, -6 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 1 2 3 4 5 5 chunks +7 lines, -2 lines 0 comments Download
A chrome/browser/component_updater/sth_set_component_installer.h View 1 2 3 4 5 6 7 1 chunk +85 lines, -0 lines 0 comments Download
A chrome/browser/component_updater/sth_set_component_installer.cc View 1 2 3 4 5 6 7 1 chunk +198 lines, -0 lines 0 comments Download
A chrome/browser/component_updater/sth_set_component_installer_unittest.cc View 1 2 3 4 5 6 7 1 chunk +150 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/component_updater/component_updater_paths.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/component_updater/component_updater_paths.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/component_updater/default_component_installer.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A net/cert/sth_distributor.h View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
A net/cert/sth_distributor.cc View 1 chunk +32 lines, -0 lines 0 comments Download
A net/cert/sth_observer.h View 1 2 3 4 5 6 7 1 chunk +31 lines, -0 lines 0 comments Download
A net/cert/sth_reporter.h View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
Eran Messeri
David/Ryan & Joshua: Soliciting early feedback from you. Design document with the broader picture: https://docs.google.com/document/d/1FP5J5Sfsg0OR9P4YT0q1dM02iavhi8ix1mZlZe_z-ls/edit
4 years, 8 months ago (2016-04-01 16:02:48 UTC) #3
waffles
Adding Sorin for a second pair of eyes. https://codereview.chromium.org/1853753003/diff/1/chrome/browser/component_updater/sth_set_component_installer.cc File chrome/browser/component_updater/sth_set_component_installer.cc (right): https://codereview.chromium.org/1853753003/diff/1/chrome/browser/component_updater/sth_set_component_installer.cc#newcode38 chrome/browser/component_updater/sth_set_component_installer.cc:38: // ...
4 years, 8 months ago (2016-04-01 17:01:55 UTC) #5
Eran Messeri
Will address the rest of the comments shortly, looking feedback on a specific one. https://codereview.chromium.org/1853753003/diff/1/chrome/browser/component_updater/sth_set_component_installer.cc ...
4 years, 8 months ago (2016-04-03 05:24:10 UTC) #6
Eran Messeri
I believe the code is ready for review now. Waffles/Sorin: PTAL. Raman: Adding you as ...
4 years, 8 months ago (2016-04-04 13:10:02 UTC) #9
Sorin Jianu
Thank you Eran. Please consider the idea of moving the code around RegisterSTHSetComponent. The rest ...
4 years, 8 months ago (2016-04-04 22:06:13 UTC) #10
Eran Messeri
PTAL - I will try to follow up on the comment regarding the creation of ...
4 years, 8 months ago (2016-04-05 15:34:07 UTC) #11
Ryan Sleevi
As I've said in past reviews, I'm concerned about the cost of the VLOGs relative ...
4 years, 8 months ago (2016-04-06 18:32:51 UTC) #13
Eran Messeri
sky: please review the change to chrome/browser/chrome_browser_main.cc Sorin: As discussed offline, I've moved creation of ...
4 years, 8 months ago (2016-04-07 11:38:03 UTC) #15
waffles
lgtm https://codereview.chromium.org/1853753003/diff/80001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1853753003/diff/80001/chrome/browser/chrome_browser_main.cc#newcode1710 chrome/browser/chrome_browser_main.cc:1710: if (!parsed_command_line().HasSwitch(switches::kDisableComponentUpdate)) { Our style thus far has ...
4 years, 8 months ago (2016-04-07 13:30:49 UTC) #16
Sorin Jianu
lgtm Thank you Eran! https://codereview.chromium.org/1853753003/diff/80001/chrome/browser/chromeos/login/session/user_session_manager.cc File chrome/browser/chromeos/login/session/user_session_manager.cc (right): https://codereview.chromium.org/1853753003/diff/80001/chrome/browser/chromeos/login/session/user_session_manager.cc#newcode1428 chrome/browser/chromeos/login/session/user_session_manager.cc:1428: // EV whitelist needs . ...
4 years, 8 months ago (2016-04-07 15:49:49 UTC) #17
Eran Messeri
Thanks for the prompt review, addressed all comments. https://codereview.chromium.org/1853753003/diff/80001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1853753003/diff/80001/chrome/browser/chrome_browser_main.cc#newcode1710 chrome/browser/chrome_browser_main.cc:1710: if ...
4 years, 8 months ago (2016-04-07 16:37:59 UTC) #18
Ryan Sleevi
At this point, it's mostly nits, so LGTM https://codereview.chromium.org/1853753003/diff/120001/chrome/browser/component_updater/sth_set_component_installer.cc File chrome/browser/component_updater/sth_set_component_installer.cc (right): https://codereview.chromium.org/1853753003/diff/120001/chrome/browser/component_updater/sth_set_component_installer.cc#newcode158 chrome/browser/component_updater/sth_set_component_installer.cc:158: DVLOG(0) ...
4 years, 8 months ago (2016-04-07 18:00:13 UTC) #19
sky
LGTM
4 years, 8 months ago (2016-04-07 19:46:40 UTC) #20
Eran Messeri
Thanks, addressed all comments. https://codereview.chromium.org/1853753003/diff/120001/chrome/browser/component_updater/sth_set_component_installer.cc File chrome/browser/component_updater/sth_set_component_installer.cc (right): https://codereview.chromium.org/1853753003/diff/120001/chrome/browser/component_updater/sth_set_component_installer.cc#newcode158 chrome/browser/component_updater/sth_set_component_installer.cc:158: DVLOG(0) << "STH parsing success ...
4 years, 8 months ago (2016-04-07 20:52:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853753003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853753003/140001
4 years, 8 months ago (2016-04-07 22:26:30 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-07 22:33:32 UTC) #26
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 22:34:47 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/9e1935c26148f42c6fe453cd380207c45934b944
Cr-Commit-Position: refs/heads/master@{#385903}

Powered by Google App Engine
This is Rietveld 408576698