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

Issue 1422573008: Plumbing SSLPrivateKey (//net) (Closed)

Created:
5 years, 1 month ago by svaldez
Modified:
5 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, chromoting-reviews_chromium.org, jam, darin-cc_chromium.org, oshima+watch_chromium.org, loading-reviews_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumbing SSLPrivateKey (//net) Plumbing SSLPrivateKey out of URLRequest to allow better unit testing. BUG=394131 Committed: https://crrev.com/7872fd0f67dc86e4de8eb34124e83364d3e20f62 Cr-Commit-Position: refs/heads/master@{#360663}

Patch Set 1 #

Patch Set 2 : Adding extra header. #

Patch Set 3 : Fix syntax. #

Patch Set 4 : Fixing scoped_ptr. #

Patch Set 5 : refptr casting. #

Patch Set 6 : Adding devtools override. #

Patch Set 7 : Resource Loader Unittest fix. #

Patch Set 8 : Required nullptr check for fake certs. #

Patch Set 9 : Fixing EVP_PKEY refcounting. #

Patch Set 10 : Adding boringssl to build files. #

Patch Set 11 : Fixing dependencies. #

Patch Set 12 : Fixing extra tab. #

Total comments: 26

Patch Set 13 : Removing wrapped net export. #

Patch Set 14 : Hiding Wrap. #

Total comments: 1

Patch Set 15 : Forward declase ScopedEVP_PKEY. #

Patch Set 16 : Fixing namespace. #

Patch Set 17 : Fix test. #

Patch Set 18 : Fixing fetch. #

Patch Set 19 : Rebase. #

Total comments: 4

Patch Set 20 : Fixing nits. #

Patch Set 21 : Fixing correct ifdef. #

Patch Set 22 : Rebase. #

Patch Set 23 : Rebase. #

Total comments: 2

Patch Set 24 : Simplify remoting fetch. #

Total comments: 1

Patch Set 25 : Removing un-needed forward decl. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -196 lines) Patch
M chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc View 7 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/certificate_provider/certificate_provider_service_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/devtools/devtools_network_transaction.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_network_transaction.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/loader/resource_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +9 lines, -1 line 0 comments Download
M content/browser/loader/resource_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +5 lines, -5 lines 0 comments Download
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/failing_http_transaction_factory.cc View 4 chunks +4 lines, -2 lines 0 comments Download
M net/http/http_cache_transaction.h View 3 chunks +4 lines, -1 line 0 comments Download
M net/http/http_cache_transaction.cc View 3 chunks +7 lines, -3 lines 0 comments Download
M net/http/http_network_transaction.h View 2 chunks +2 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +11 lines, -3 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 7 chunks +17 lines, -11 lines 0 comments Download
M net/http/http_transaction.h View 2 chunks +2 lines, -0 lines 0 comments Download
M net/http/http_transaction_test_util.h View 2 chunks +2 lines, -0 lines 0 comments Download
M net/http/http_transaction_test_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M net/net_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +0 lines, -2 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 14 15 16 17 18 19 20 21 15 chunks +12 lines, -52 lines 0 comments Download
M net/socket/ssl_client_socket_openssl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +5 lines, -0 lines 0 comments Download
M net/ssl/client_cert_store_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M net/ssl/client_key_store.h View 2 chunks +4 lines, -3 lines 0 comments Download
M net/ssl/client_key_store.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/ssl/ssl_client_auth_cache.h View 3 chunks +13 lines, -7 lines 0 comments Download
M net/ssl/ssl_client_auth_cache.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M net/ssl/ssl_client_auth_cache_unittest.cc View 5 chunks +63 lines, -30 lines 0 comments Download
M net/ssl/ssl_config.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -0 lines 0 comments Download
M net/ssl/ssl_platform_key.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -6 lines 0 comments Download
M net/ssl/ssl_platform_key_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +14 lines, -10 lines 0 comments Download
M net/ssl/ssl_platform_key_mac.cc View 4 chunks +5 lines, -6 lines 0 comments Download
M net/ssl/ssl_platform_key_nss.cc View 8 9 10 11 12 3 chunks +5 lines, -5 lines 0 comments Download
A net/ssl/ssl_platform_key_task_runner.h View 1 chunk +33 lines, -0 lines 0 comments Download
A net/ssl/ssl_platform_key_task_runner.cc View 1 chunk +31 lines, -0 lines 0 comments Download
M net/ssl/ssl_platform_key_win.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M net/ssl/ssl_private_key.h View 3 chunks +6 lines, -3 lines 0 comments Download
M net/ssl/threaded_ssl_private_key.h View 2 chunks +1 line, -1 line 0 comments Download
M net/ssl/threaded_ssl_private_key.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M net/url_request/url_fetcher_core.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request.h View 3 chunks +6 lines, -3 lines 0 comments Download
M net/url_request/url_request.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/url_request/url_request_http_job.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -1 line 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +4 lines, -2 lines 0 comments Download
M net/url_request/url_request_job.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -1 line 0 comments Download
M net/url_request/url_request_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/token_validator_base.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/token_validator_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (10 generated)
svaldez
//net half
5 years, 1 month ago (2015-10-30 15:37:03 UTC) #3
davidben
https://codereview.chromium.org/1422573008/diff/210001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/1422573008/diff/210001/chrome/browser/BUILD.gn#newcode718 chrome/browser/BUILD.gn:718: "//third_party/boringssl", Is this needed? https://codereview.chromium.org/1422573008/diff/210001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1422573008/diff/210001/chrome/chrome_browser.gypi#newcode3325 ...
5 years, 1 month ago (2015-11-04 00:17:38 UTC) #4
svaldez
https://codereview.chromium.org/1422573008/diff/210001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/1422573008/diff/210001/chrome/browser/BUILD.gn#newcode718 chrome/browser/BUILD.gn:718: "//third_party/boringssl", On 2015/11/04 00:17:38, davidben wrote: > Is this ...
5 years, 1 month ago (2015-11-04 16:55:52 UTC) #5
davidben
https://codereview.chromium.org/1422573008/diff/250001/net/ssl/ssl_platform_key_android.cc File net/ssl/ssl_platform_key_android.cc (right): https://codereview.chromium.org/1422573008/diff/250001/net/ssl/ssl_platform_key_android.cc#newcode111 net/ssl/ssl_platform_key_android.cc:111: #if false Try bots are unhappy. I think you ...
5 years, 1 month ago (2015-11-04 17:03:01 UTC) #6
svaldez
Fixed?
5 years, 1 month ago (2015-11-06 21:30:15 UTC) #7
davidben
lgtm! https://codereview.chromium.org/1422573008/diff/340001/net/net_common.gypi File net/net_common.gypi (right): https://codereview.chromium.org/1422573008/diff/340001/net/net_common.gypi#newcode168 net/net_common.gypi:168: 'ssl/ssl_platform_key_task_runner.h', Missing ssl/ssl_platform_key_task_runner.cc? https://codereview.chromium.org/1422573008/diff/340001/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/1422573008/diff/340001/net/socket/ssl_client_socket_openssl.cc#newcode1770 ...
5 years, 1 month ago (2015-11-06 21:47:45 UTC) #8
svaldez
https://codereview.chromium.org/1422573008/diff/340001/net/net_common.gypi File net/net_common.gypi (right): https://codereview.chromium.org/1422573008/diff/340001/net/net_common.gypi#newcode168 net/net_common.gypi:168: 'ssl/ssl_platform_key_task_runner.h', On 2015/11/06 21:47:45, davidben wrote: > Missing ssl/ssl_platform_key_task_runner.cc? ...
5 years, 1 month ago (2015-11-09 17:32:16 UTC) #9
davidben
(still lgtm)
5 years, 1 month ago (2015-11-11 00:00:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422573008/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422573008/400001
5 years, 1 month ago (2015-11-11 14:36:15 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/139091)
5 years, 1 month ago (2015-11-11 14:43:13 UTC) #14
svaldez
Hi, We're changing the interface for using client certificates in //net and are updating some ...
5 years, 1 month ago (2015-11-11 15:23:43 UTC) #17
Daniel Erat
lgtm for c/b/chromeos
5 years, 1 month ago (2015-11-11 15:37:54 UTC) #18
Sergey Ulanov
remoting lgtm, but please see my suggestion https://codereview.chromium.org/1422573008/diff/420001/remoting/host/token_validator_base.cc File remoting/host/token_validator_base.cc (right): https://codereview.chromium.org/1422573008/diff/420001/remoting/host/token_validator_base.cc#newcode159 remoting/host/token_validator_base.cc:159: scoped_refptr<net::SSLPrivateKey> private_key ...
5 years, 1 month ago (2015-11-11 19:05:02 UTC) #19
svaldez
yurys: Any idea if you'll have time to take a look at the devtools change, ...
5 years, 1 month ago (2015-11-16 21:36:22 UTC) #20
svaldez
dgozman: Any chance you could take a look at the devtools change? Its a small ...
5 years, 1 month ago (2015-11-19 15:51:08 UTC) #23
davidben
(It's been a week of waiting on the previous reviewer and this is a completely ...
5 years, 1 month ago (2015-11-19 17:01:20 UTC) #24
dgozman
chrome/browser/devtools lgtm. Just TBR mechanical changes in clients next time if you got an approval ...
5 years, 1 month ago (2015-11-19 18:49:07 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422573008/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422573008/460001
5 years, 1 month ago (2015-11-19 18:56:29 UTC) #28
commit-bot: I haz the power
Committed patchset #25 (id:460001)
5 years, 1 month ago (2015-11-19 21:11:02 UTC) #29
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 21:12:33 UTC) #30
Message was sent while issue was closed.
Patchset 25 (id:??) landed as
https://crrev.com/7872fd0f67dc86e4de8eb34124e83364d3e20f62
Cr-Commit-Position: refs/heads/master@{#360663}

Powered by Google App Engine
This is Rietveld 408576698