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

Issue 9476035: Make CertVerifier a pure virtual interface. (Closed)

Created:
8 years, 9 months ago by Ryan Sleevi
Modified:
8 years, 9 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, cbentzel+watch_chromium.org, simonmorris+watch_chromium.org, nkostylev+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, jam, garykac+watch_chromium.org, joi+watch-content_chromium.org, lambroslambrou+watch_chromium.org, darin-cc_chromium.org, pam+watch_chromium.org, alexeypa+watch_chromium.org, stevenjb+watch_chromium.org, sergeyu+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Make CertVerifier a pure virtual interface. The existing CertVerifier implementation has been renamed to MultiThreadedCertVerifier, consistent with ProxyResolver naming. This is patch 1 of N for http://crbug.com/114343 BUG=114343 TEST=Compiles and existing unittests pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128090

Patch Set 1 #

Total comments: 9

Patch Set 2 : Use CreateDefaultCertVerifier #

Patch Set 3 : Two header fixes #

Total comments: 4

Patch Set 4 : Rebase to ToT #

Patch Set 5 : Fix after grand SPDY copy #

Patch Set 6 : Rebased #

Patch Set 7 : Review feedback #

Patch Set 8 : Line wrapping #

Patch Set 9 : Truely virtual #

Patch Set 10 : Rebased #

Patch Set 11 : Rebase to ToT #

Patch Set 12 : Fix remoting #

Patch Set 13 : Rebased #

Patch Set 14 : #

Patch Set 15 : Fix copyright #

Patch Set 16 : Win shared fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -1853 lines) Patch
M chrome/browser/chromeos/web_socket_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/connection_tester.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/connection_tester_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/service/net/service_url_request_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M jingle/notifier/base/chrome_async_socket_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -3 lines 0 comments Download
M net/base/cert_database.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -3 lines 0 comments Download
M net/base/cert_database.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M net/base/cert_verifier.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +25 lines, -154 lines 0 comments Download
D net/base/cert_verifier.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -490 lines 0 comments Download
D net/base/cert_verifier_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -299 lines 0 comments Download
A + net/base/multi_threaded_cert_verifier.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +30 lines, -104 lines 0 comments Download
A + net/base/multi_threaded_cert_verifier.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 15 chunks +60 lines, -118 lines 0 comments Download
A + net/base/multi_threaded_cert_verifier_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +36 lines, -27 lines 0 comments Download
A + net/base/single_request_cert_verifier.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -167 lines 0 comments Download
A + net/base/single_request_cert_verifier.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -429 lines 0 comments Download
M net/base/transport_security_state_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/http/disk_cache_based_ssl_host_info_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +14 lines, -7 lines 0 comments Download
M net/http/http_network_layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +6 lines, -4 lines 0 comments Download
M net/http/http_network_transaction_spdy21_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_spdy21_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -3 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -3 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +5 lines, -3 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +5 lines, -1 line 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_client_socket_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_host_info.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_server_socket_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -3 lines 0 comments Download
M net/spdy/spdy_test_util_spdy2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +4 lines, -3 lines 0 comments Download
M net/spdy/spdy_test_util_spdy3.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +3 lines, -3 lines 0 comments Download
M net/tools/fetch/fetch_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -2 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M remoting/host/url_request_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M remoting/jingle_glue/ssl_socket_adapter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/protocol/ssl_hmac_channel_authenticator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/test_shell_request_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Ryan Sleevi
wtc: PTAL. This is in support of having runtime-defined CertVerifiers (eg: libpkix on OS X, ...
8 years, 9 months ago (2012-02-28 04:43:12 UTC) #1
wtc
Review comments on Patch Set 1: I only reviewed the cert_verifier related files in net/base. ...
8 years, 9 months ago (2012-02-29 20:27:49 UTC) #2
Ryan Sleevi
> Could you use "svn copy" to fork cert_verifier.h into > multi_threaded_cert_verifier.h and > single_request_cert_verifier.h ...
8 years, 9 months ago (2012-02-29 21:51:33 UTC) #3
Ryan Sleevi
Stamp collecting: sergeyu: jingle/, remoting/ darin: webkit/, content/ wtc: I rolled in the CreateDefaultCertVerifier() call ...
8 years, 9 months ago (2012-03-02 18:39:07 UTC) #4
wtc
Patch set 3 LGTM. http://codereview.chromium.org/9476035/diff/8001/net/base/cert_verifier.h File net/base/cert_verifier.h (right): http://codereview.chromium.org/9476035/diff/8001/net/base/cert_verifier.h#newcode30 net/base/cert_verifier.h:30: // Opaque pointer type used ...
8 years, 9 months ago (2012-03-02 23:51:52 UTC) #5
Ryan Sleevi
sergeyu, darin: ping
8 years, 9 months ago (2012-03-06 02:06:13 UTC) #6
Sergey Ulanov
Didn't look through the whole CL, but the remoting changes LGTM! Thank you Ryan for ...
8 years, 9 months ago (2012-03-06 02:16:06 UTC) #7
Ryan Sleevi
darin: Any chance for a rubberstamp for webkit/ and content/ ?
8 years, 9 months ago (2012-03-07 20:24:40 UTC) #8
darin (slow to review)
LGTM for content/ and webkit/
8 years, 9 months ago (2012-03-07 20:40:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/9476035/23013
8 years, 9 months ago (2012-03-07 21:21:29 UTC) #10
commit-bot: I haz the power
Try job failure for 9476035-23013 (retry) on linux_rel for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-07 21:49:04 UTC) #11
commit-bot: I haz the power
8 years, 9 months ago (2012-03-20 19:04:50 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698