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

Issue 2650803004: Wire NetLog into the TreeStateTracker (Closed)

Created:
3 years, 11 months ago by Eran Messeri
Modified:
3 years, 10 months ago
CC:
chromium-reviews, rsleevi+watch_chromium.org, certificate-transparency-chrome_googlegroups.com, cbentzel+watch_chromium.org, Eran Messeri, eroman, martijn+crwatch_martijnc.be, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Wire NetLog into the TreeStateTracker Pass a NetLog instance from the IOThread/ProfileIOData into the TreeStateTracker instance created in each, so that CT log auditing events can be logged into the NetLog and DNS queries related to log auditing are also logged. A new NetLog source was created to track NetLog events related to CT log auditing, since they happen independently of the SSL connections in which the certificates and SCTs were observed. BUG=613495 Review-Url: https://codereview.chromium.org/2650803004 Cr-Commit-Position: refs/heads/master@{#447772} Committed: https://chromium.googlesource.com/chromium/src/+/bbf5af70f469a5f7807ec4573a65c3710cfbb29a

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressing review comments #

Patch Set 3 : Merging with master #

Patch Set 4 : Adding NetLog usage, tests #

Total comments: 6

Patch Set 5 : Addressing eroman's comments. #

Total comments: 2

Patch Set 6 : Looking for entry first #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -21 lines) Patch
M chrome/browser/io_thread.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/certificate_transparency/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/certificate_transparency/single_tree_tracker.h View 1 2 3 4 chunks +7 lines, -1 line 0 comments Download
M components/certificate_transparency/single_tree_tracker.cc View 1 2 3 4 8 chunks +37 lines, -2 lines 0 comments Download
M components/certificate_transparency/single_tree_tracker_unittest.cc View 1 2 3 4 5 15 chunks +68 lines, -6 lines 0 comments Download
M components/certificate_transparency/tree_state_tracker.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M components/certificate_transparency/tree_state_tracker.cc View 1 2 3 1 chunk +9 lines, -7 lines 0 comments Download
A components/certificate_transparency/tree_state_tracker_unittest.cc View 1 2 3 1 chunk +97 lines, -0 lines 0 comments Download
M net/log/net_log_event_type_list.h View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M net/log/net_log_source_type_list.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (22 generated)
Eran Messeri
Eric, Ryan: PTAL.
3 years, 11 months ago (2017-01-24 11:31:59 UTC) #4
Ryan Sleevi
Where are your unit tests for the TreeStateTracker? :)
3 years, 11 months ago (2017-01-24 17:23:04 UTC) #6
eroman
LGTM. I am less demanding of a unit-test in this case, but adding one would ...
3 years, 11 months ago (2017-01-25 21:23:08 UTC) #7
Eran Messeri
Thanks for the quick review, I'll add unit-tests and update the CL. https://codereview.chromium.org/2650803004/diff/1/components/certificate_transparency/tree_state_tracker.cc File components/certificate_transparency/tree_state_tracker.cc ...
3 years, 11 months ago (2017-01-26 15:08:40 UTC) #8
eroman
lgtm https://codereview.chromium.org/2650803004/diff/1/components/certificate_transparency/tree_state_tracker.cc File components/certificate_transparency/tree_state_tracker.cc (right): https://codereview.chromium.org/2650803004/diff/1/components/certificate_transparency/tree_state_tracker.cc#newcode46 components/certificate_transparency/tree_state_tracker.cc:46: net_log, net::NetLogSourceType::CT_LOG_AUDITOR), On 2017/01/26 15:08:40, Eran Messeri wrote: ...
3 years, 11 months ago (2017-01-26 18:20:39 UTC) #9
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/2650803004/20001
3 years, 10 months ago (2017-01-30 17:45:21 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/353211)
3 years, 10 months ago (2017-01-30 17:53:08 UTC) #17
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/2650803004/40001
3 years, 10 months ago (2017-01-30 17:58:37 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/353222)
3 years, 10 months ago (2017-01-30 18:07:18 UTC) #22
Eran Messeri
Ryan, Eric: PTAL. In the latest patchset: * The CT log auditing result is logged ...
3 years, 10 months ago (2017-01-31 17:25:21 UTC) #23
eroman
lgtm https://codereview.chromium.org/2650803004/diff/60001/components/certificate_transparency/single_tree_tracker.cc File components/certificate_transparency/single_tree_tracker.cc (right): https://codereview.chromium.org/2650803004/diff/60001/components/certificate_transparency/single_tree_tracker.cc#newcode445 components/certificate_transparency/single_tree_tracker.cc:445: // XXX(eranm): Should failures be cached? For now, ...
3 years, 10 months ago (2017-01-31 19:24:25 UTC) #24
Eran Messeri
Thanks for the quick review Eric, done. https://codereview.chromium.org/2650803004/diff/60001/components/certificate_transparency/single_tree_tracker.cc File components/certificate_transparency/single_tree_tracker.cc (right): https://codereview.chromium.org/2650803004/diff/60001/components/certificate_transparency/single_tree_tracker.cc#newcode445 components/certificate_transparency/single_tree_tracker.cc:445: // XXX(eranm): ...
3 years, 10 months ago (2017-01-31 21:18:25 UTC) #26
Ryan Sleevi
Consider this a nit rather than a blocker, and I think if Eric's happy with ...
3 years, 10 months ago (2017-02-01 23:33:46 UTC) #30
Eran Messeri
rch: Please review chrome/browser/profiles/profile_io_data.cc, where I wire a NetLog instance in the same way as ...
3 years, 10 months ago (2017-02-02 10:22:55 UTC) #32
Ryan Hamilton
chrome/browser/profiles/profile_io_data.cc: LGTM
3 years, 10 months ago (2017-02-02 14:44:12 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/2650803004/100001
3 years, 10 months ago (2017-02-02 14:55:17 UTC) #36
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 16:07:09 UTC) #39
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/bbf5af70f469a5f7807ec4573a65...

Powered by Google App Engine
This is Rietveld 408576698