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

Issue 1987113002: Introduce CertVerifier::RequestParams (Closed)

Created:
4 years, 7 months ago by Ryan Sleevi
Modified:
4 years, 7 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, ramant (doing other things)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce CertVerifier::RequestParams In anticipation of divorcing caching from multi-threading, move the MultiThreadedCertVerifier's RequestParams up to CertVerifier, as part of a public, stable interface for handling verification request. This mirrors the notion of HostResolver's RequestInfo. While Verify() does not yet take a RequestParams (which will come later), this provides a common interface to use as a key for determining if two requests should be treated the same (e.g. for purposes of caching or joining existing requests). BUG=612655 Committed: https://crrev.com/e51d72bacc26ac549ee7de34b6a96916e89cc5a9 Cr-Commit-Position: refs/heads/master@{#394967}

Patch Set 1 #

Patch Set 2 : Move tests #

Total comments: 11

Patch Set 3 : Add identity check #

Patch Set 4 : Add NET_EXPORT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -190 lines) Patch
M net/cert/cert_verifier.h View 1 2 3 3 chunks +30 lines, -2 lines 0 comments Download
M net/cert/cert_verifier.cc View 2 chunks +39 lines, -0 lines 0 comments Download
A net/cert/cert_verifier_unittest.cc View 1 2 1 chunk +142 lines, -0 lines 0 comments Download
M net/cert/multi_threaded_cert_verifier.h View 2 chunks +10 lines, -28 lines 0 comments Download
M net/cert/multi_threaded_cert_verifier.cc View 8 chunks +21 lines, -50 lines 0 comments Download
M net/cert/multi_threaded_cert_verifier_unittest.cc View 1 2 chunks +1 line, -110 lines 0 comments Download
M net/net.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (11 generated)
Ryan Sleevi
First part. Need to introduce cert_verifier_unittest to cover the MultiThreadedCertVerifier test
4 years, 7 months ago (2016-05-18 00:45:55 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987113002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987113002/20001
4 years, 7 months ago (2016-05-18 00:59:42 UTC) #4
eroman
https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier.h File net/cert/cert_verifier.h (right): https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier.h#newcode80 net/cert/cert_verifier.h:80: // |flags| are required. The rest are optional. Are ...
4 years, 7 months ago (2016-05-18 01:43:18 UTC) #5
Ryan Sleevi
https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier.h File net/cert/cert_verifier.h (right): https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier.h#newcode80 net/cert/cert_verifier.h:80: // |flags| are required. The rest are optional. On ...
4 years, 7 months ago (2016-05-18 02:02:02 UTC) #6
eroman
https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier.h File net/cert/cert_verifier.h (right): https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier.h#newcode102 net/cert/cert_verifier.h:102: std::vector<SHA1HashValue> request_data_; On 2016/05/18 02:02:02, Ryan Sleevi wrote: > ...
4 years, 7 months ago (2016-05-18 02:06:44 UTC) #7
Ryan Sleevi
https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier_unittest.cc File net/cert/cert_verifier_unittest.cc (right): https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier_unittest.cc#newcode136 net/cert/cert_verifier_unittest.cc:136: } On 2016/05/18 02:06:43, eroman wrote: > On 2016/05/18 ...
4 years, 7 months ago (2016-05-18 02:07:40 UTC) #8
eroman
https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier_unittest.cc File net/cert/cert_verifier_unittest.cc (right): https://codereview.chromium.org/1987113002/diff/20001/net/cert/cert_verifier_unittest.cc#newcode136 net/cert/cert_verifier_unittest.cc:136: } On 2016/05/18 02:07:40, Ryan Sleevi wrote: > On ...
4 years, 7 months ago (2016-05-18 02:29:36 UTC) #9
eroman
lgtm
4 years, 7 months ago (2016-05-18 02:33:40 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/192085)
4 years, 7 months ago (2016-05-18 03:45:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987113002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987113002/40001
4 years, 7 months ago (2016-05-19 18:36:10 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/216734)
4 years, 7 months ago (2016-05-19 19:45:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987113002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987113002/40001
4 years, 7 months ago (2016-05-19 19:59:09 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/193487)
4 years, 7 months ago (2016-05-19 21:03:46 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1987113002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1987113002/60001
4 years, 7 months ago (2016-05-20 02:40:13 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-20 02:49:23 UTC) #25
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 02:50:37 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e51d72bacc26ac549ee7de34b6a96916e89cc5a9
Cr-Commit-Position: refs/heads/master@{#394967}

Powered by Google App Engine
This is Rietveld 408576698