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

Issue 303133006: Added net_log logging statments for CertVerifyResult (Closed)

Created:
6 years, 6 months ago by mshelley
Modified:
6 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : removed changes to base/base.gyp #

Total comments: 21

Patch Set 3 : Fixed various comments on last CL #

Total comments: 14

Patch Set 4 : Fixed formatting errors, removed unnecessary declaration from header file, and deleted unneeded com… #

Total comments: 36

Patch Set 5 : git diff #

Patch Set 6 : Fixed various formatting and style issues. #

Patch Set 7 : Removed extraneous character. #

Total comments: 2

Patch Set 8 : Moved 'certificates' explanation to BEGIN phase comment" #

Total comments: 5

Patch Set 9 : Fixed minor formatting issue #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -5 lines) Patch
M net/base/net_log_event_type_list.h View 1 2 3 4 5 6 7 8 1 chunk +43 lines, -4 lines 0 comments Download
M net/cert/multi_threaded_cert_verifier.cc View 1 2 3 4 5 6 7 8 4 chunks +35 lines, -1 line 2 comments Download

Messages

Total messages: 21 (0 generated)
mshelley
Please ignore the base.gyp file -- it shouldn't be on the cl. This is what ...
6 years, 6 months ago (2014-05-30 22:03:11 UTC) #1
Ryan Sleevi
A great start! Please don't be daunted by the length of the comments - I ...
6 years, 6 months ago (2014-05-30 22:46:24 UTC) #2
mshelley
Hi Ryan, I fixed all of the things you mentioned in your comments. One thing ...
6 years, 6 months ago (2014-05-31 00:38:19 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/303133006/diff/20001/net/cert/multi_threaded_cert_verifier.cc File net/cert/multi_threaded_cert_verifier.cc (right): https://codereview.chromium.org/303133006/diff/20001/net/cert/multi_threaded_cert_verifier.cc#newcode85 net/cert/multi_threaded_cert_verifier.cc:85: On 2014/05/30 22:46:24, Ryan Sleevi wrote: > STYLE: You ...
6 years, 6 months ago (2014-05-31 00:53:02 UTC) #4
mshelley
https://codereview.chromium.org/303133006/diff/40001/net/base/net_log_event_type_list.h File net/base/net_log_event_type_list.h (right): https://codereview.chromium.org/303133006/diff/40001/net/base/net_log_event_type_list.h#newcode1898 net/base/net_log_event_type_list.h:1898: // of additional trust anchors.> On 2014/05/31 00:53:02, Ryan ...
6 years, 6 months ago (2014-05-31 01:50:39 UTC) #5
Ryan Sleevi
A few more style comments. This is normal for the first few weeks (or, in ...
6 years, 6 months ago (2014-05-31 02:41:10 UTC) #6
wtc
Review comments on patch set 4: All of my comments are coding style issues. https://codereview.chromium.org/303133006/diff/60001/net/base/net_log_event_type_list.h ...
6 years, 6 months ago (2014-05-31 02:48:02 UTC) #7
mshelley
https://codereview.chromium.org/303133006/diff/60001/net/base/net_log_event_type_list.h File net/base/net_log_event_type_list.h (right): https://codereview.chromium.org/303133006/diff/60001/net/base/net_log_event_type_list.h#newcode1894 net/base/net_log_event_type_list.h:1894: // "has_md5": <Property of the certificate chain.> On 2014/05/31 ...
6 years, 6 months ago (2014-06-02 20:40:05 UTC) #8
Ryan Sleevi
Almost there. One small nit, then it looks good. I'll let Wan-Teh have final say ...
6 years, 6 months ago (2014-06-02 20:44:00 UTC) #9
mshelley
https://codereview.chromium.org/303133006/diff/120001/net/base/net_log_event_type_list.h File net/base/net_log_event_type_list.h (right): https://codereview.chromium.org/303133006/diff/120001/net/base/net_log_event_type_list.h#newcode1924 net/base/net_log_event_type_list.h:1924: // building. Only present when byte logging is enabled.> ...
6 years, 6 months ago (2014-06-02 21:07:45 UTC) #10
wtc
Patch set 8 LGTM. Please fix the nits, upload a new snapshot, and check the ...
6 years, 6 months ago (2014-06-02 22:29:47 UTC) #11
mshelley1
The CQ bit was checked by mshelley@google.com
6 years, 6 months ago (2014-06-02 22:46:09 UTC) #12
mshelley1
The CQ bit was checked by mshelley@google.com
6 years, 6 months ago (2014-06-02 22:46:40 UTC) #13
mshelley1
The CQ bit was unchecked by mshelley@google.com
6 years, 6 months ago (2014-06-02 22:47:01 UTC) #14
mshelley1
The CQ bit was checked by mshelley@google.com
6 years, 6 months ago (2014-06-02 22:47:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mshelley@chromium.org/303133006/180001
6 years, 6 months ago (2014-06-02 22:47:08 UTC) #16
mshelley
The CQ bit was checked by mshelley@chromium.org
6 years, 6 months ago (2014-06-02 22:48:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mshelley@chromium.org/303133006/180001
6 years, 6 months ago (2014-06-02 22:48:42 UTC) #18
commit-bot: I haz the power
Change committed as 274456
6 years, 6 months ago (2014-06-03 10:27:50 UTC) #19
eroman
https://codereview.chromium.org/303133006/diff/180001/net/cert/multi_threaded_cert_verifier.cc File net/cert/multi_threaded_cert_verifier.cc (right): https://codereview.chromium.org/303133006/diff/180001/net/cert/multi_threaded_cert_verifier.cc#newcode83 net/cert/multi_threaded_cert_verifier.cc:83: base::Value* CertVerifyResultCallback(const CertVerifyResult& verify_result, Please make this a "const ...
6 years, 6 months ago (2014-06-04 19:41:52 UTC) #20
Ryan Sleevi
6 years, 6 months ago (2014-06-04 19:50:51 UTC) #21
Message was sent while issue was closed.
https://codereview.chromium.org/303133006/diff/180001/net/cert/multi_threaded...
File net/cert/multi_threaded_cert_verifier.cc (right):

https://codereview.chromium.org/303133006/diff/180001/net/cert/multi_threaded...
net/cert/multi_threaded_cert_verifier.cc:83: base::Value*
CertVerifyResultCallback(const CertVerifyResult& verify_result,
On 2014/06/04 19:41:53, eroman wrote:
> Please make this a "const CertVerifyResult*" rather than a const reference. It
> will avoid making a copy of |verify_result|.
> 
> Unfortunately the usage of these callbacks is fairly subtle. Since this
function
> is used with base::Bind() a copy ends up being made of each parameter.

Or just use base::ConstRef(). I feel like the pointer change has the potential
of making callers worry about life time management themselves and what it might
mean, while base::ConstRef() on line 389 allows specific instantiations (eg:
this place, which is Known Safe) to avoid the extra copy.

> 
> For more information see "How custom parameters are attached to events" in
> http://www.chromium.org/developers/design-documents/network-stack/netlog
> 
> As an aside: This design was originally done for convenience, but in my
opinion
> has turned out to be too cumbersome. Alternative proposed in
> https://code.google.com/p/chromium/issues/detail?id=236915#c5

Powered by Google App Engine
This is Rietveld 408576698