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

Issue 2259283002: Refactor certificate stats collection, added SSLCertificateStats. (Closed)

Created:
4 years, 4 months ago by hbos
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Refactor certificate stats collection, added SSLCertificateStats. The code that extracts certificate stats from an SSLCertificate and its certificate chain is moved into SSLCertificate::GetStats. The stats collector code loops through the resulting SSLCertificateStats and creates the StatsReports for those stats. This will allow the new stats collector to reuse GetStats in a future CL. BUG=chromium:627816, chromium:629436 Committed: https://crrev.com/e29352bb34de60bd0a56d4ce46c2ce35ac2b27b4 Cr-Commit-Position: refs/heads/master@{#13917}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added unittests #

Patch Set 3 : Another unittest for the case of certificate chains using fake certificates #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -141 lines) Patch
M webrtc/api/statscollector.h View 1 chunk +1 line, -5 lines 0 comments Download
M webrtc/api/statscollector.cc View 1 chunk +23 lines, -62 lines 0 comments Download
M webrtc/base/sslidentity.h View 2 chunks +21 lines, -0 lines 0 comments Download
M webrtc/base/sslidentity.cc View 2 chunks +65 lines, -0 lines 0 comments Download
M webrtc/base/sslidentity_unittest.cc View 1 2 4 chunks +191 lines, -74 lines 2 comments Download

Messages

Total messages: 18 (8 generated)
hbos
Please take a look, perkj.
4 years, 4 months ago (2016-08-19 17:20:35 UTC) #4
perkj_webrtc
lgtm with a nit. Should you have another reviewer that knows more about this like ...
4 years, 4 months ago (2016-08-20 09:49:53 UTC) #5
hbos
Please take a look, hta. https://codereview.webrtc.org/2259283002/diff/40001/webrtc/base/sslidentity.cc File webrtc/base/sslidentity.cc (right): https://codereview.webrtc.org/2259283002/diff/40001/webrtc/base/sslidentity.cc#newcode70 webrtc/base/sslidentity.cc:70: // TODO(bemasc): Move this ...
4 years, 4 months ago (2016-08-22 10:36:58 UTC) #7
hta-webrtc
So the chief refactoring is that you move the internal->external representation of the certs' properties ...
4 years, 4 months ago (2016-08-24 14:07:14 UTC) #8
hbos
PTAL hta. On 2016/08/24 14:07:14, hta-webrtc wrote: > So the chief refactoring is that you ...
4 years, 4 months ago (2016-08-25 08:13:01 UTC) #10
hta-webrtc
lgtm https://codereview.webrtc.org/2259283002/diff/100001/webrtc/base/sslidentity_unittest.cc File webrtc/base/sslidentity_unittest.cc (right): https://codereview.webrtc.org/2259283002/diff/100001/webrtc/base/sslidentity_unittest.cc#newcode487 webrtc/base/sslidentity_unittest.cc:487: for (size_t i = 0; i < info.ders.size(); ...
4 years, 3 months ago (2016-08-25 09:32:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2259283002/100001
4 years, 3 months ago (2016-08-25 10:25:52 UTC) #14
hbos
https://codereview.webrtc.org/2259283002/diff/100001/webrtc/base/sslidentity_unittest.cc File webrtc/base/sslidentity_unittest.cc (right): https://codereview.webrtc.org/2259283002/diff/100001/webrtc/base/sslidentity_unittest.cc#newcode487 webrtc/base/sslidentity_unittest.cc:487: for (size_t i = 0; i < info.ders.size(); ++i) ...
4 years, 3 months ago (2016-08-25 10:46:33 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 3 months ago (2016-08-25 10:52:43 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 10:52:50 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e29352bb34de60bd0a56d4ce46c2ce35ac2b27b4
Cr-Commit-Position: refs/heads/master@{#13917}

Powered by Google App Engine
This is Rietveld 408576698