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

Issue 1274143002: ClientCertStoreChromeOS: support additional non-platform certs. (Closed)

Created:
5 years, 4 months ago by pneubeck (no reviews)
Modified:
5 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ClientCertStoreChromeOS: support additional non-platform certs. To reduce complexity, this change removes the inheritance of ClientCertStoreChromeOS from net::ClientCertStoreNSS and instead exposes the required functions of ClientCertStoreNSS as static methods. BUG=514575 Committed: https://crrev.com/385704ecd579795bccfc03079191256700000daa Cr-Commit-Position: refs/heads/master@{#345288}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Remove inefficient filtering #

Total comments: 2

Patch Set 3 : Refactored to suggested pulling of certificates. #

Total comments: 6

Patch Set 4 : Refactored ClientCertStoreNSS. #

Total comments: 13

Patch Set 5 : Addressed nits. #

Patch Set 6 : Rebased. #

Total comments: 5

Patch Set 7 : Addressed Steven's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -149 lines) Patch
A + chrome/browser/chromeos/certificate_provider/OWNERS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/chromeos/certificate_provider/certificate_provider.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/client_cert_store_chromeos.h View 1 2 3 4 2 chunks +32 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/net/client_cert_store_chromeos.cc View 1 2 3 4 5 6 3 chunks +69 lines, -32 lines 0 comments Download
M chrome/browser/chromeos/net/client_cert_store_chromeos_unittest.cc View 1 2 3 4 5 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/platform_keys/platform_keys_nss.cc View 1 2 3 4 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M net/ssl/client_cert_store_nss.h View 1 2 3 4 3 chunks +23 lines, -24 lines 0 comments Download
M net/ssl/client_cert_store_nss.cc View 1 2 3 4 5 6 4 chunks +50 lines, -61 lines 0 comments Download
M net/ssl/client_cert_store_nss_unittest.cc View 1 2 3 1 chunk +6 lines, -7 lines 0 comments Download
M net/ssl/client_cert_store_unittest-inl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 41 (18 generated)
pneubeck (no reviews)
ptal. I separated this part from the larger CL for better reviewability.
5 years, 4 months ago (2015-08-06 14:08:50 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.cc File net/ssl/client_cert_store_chromeos.cc (right): https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.cc#newcode87 net/ssl/client_cert_store_chromeos.cc:87: selected_certs->end()); This seems highly inefficient - the operator() operation ...
5 years, 4 months ago (2015-08-07 23:51:09 UTC) #6
pneubeck (no reviews)
https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.cc File net/ssl/client_cert_store_chromeos.cc (right): https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.cc#newcode87 net/ssl/client_cert_store_chromeos.cc:87: selected_certs->end()); On 2015/08/07 23:51:09, Ryan Sleevi wrote: > This ...
5 years, 4 months ago (2015-08-10 12:09:56 UTC) #8
davidben
https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.h File net/ssl/client_cert_store_chromeos.h (right): https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.h#newcode40 net/ssl/client_cert_store_chromeos.h:40: const CertificateList& additional_certs, On 2015/08/10 12:09:56, pneubeck wrote: > ...
5 years, 4 months ago (2015-08-10 21:54:00 UTC) #9
pneubeck (no reviews)
On 2015/08/10 21:54:00, David Benjamin wrote: > https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.h > File net/ssl/client_cert_store_chromeos.h (right): > > https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.h#newcode40 ...
5 years, 4 months ago (2015-08-11 09:36:23 UTC) #10
pneubeck (no reviews)
Another argument against polling: It's not feasible to poll the smart card itself per certificate ...
5 years, 4 months ago (2015-08-11 10:02:58 UTC) #11
Ryan Sleevi
On 2015/08/11 10:02:58, pneubeck wrote: > Another argument against polling: > It's not feasible to ...
5 years, 4 months ago (2015-08-12 00:25:43 UTC) #12
pneubeck (no reviews)
ptal https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.h File net/ssl/client_cert_store_chromeos.h (right): https://codereview.chromium.org/1274143002/diff/40001/net/ssl/client_cert_store_chromeos.h#newcode40 net/ssl/client_cert_store_chromeos.h:40: const CertificateList& additional_certs, On 2015/08/10 21:54:00, David Benjamin ...
5 years, 4 months ago (2015-08-13 12:25:25 UTC) #16
davidben
https://codereview.chromium.org/1274143002/diff/160001/chrome/browser/chromeos/net/client_cert_store_chromeos.cc File chrome/browser/chromeos/net/client_cert_store_chromeos.cc (right): https://codereview.chromium.org/1274143002/diff/160001/chrome/browser/chromeos/net/client_cert_store_chromeos.cc#newcode104 chrome/browser/chromeos/net/client_cert_store_chromeos.cc:104: additional_certs_ = certs; Hrm. Although we never actually call ...
5 years, 4 months ago (2015-08-14 21:49:16 UTC) #17
pneubeck (no reviews)
If you agree that the PasswordDelegate isn't required in ChromeOS, I can simplify the ClientCertStoreChromeOS ...
5 years, 4 months ago (2015-08-17 12:01:32 UTC) #20
davidben
lgtm. Sorry about the delay, and thanks for the cleanup. That was somewhat easier to ...
5 years, 4 months ago (2015-08-20 00:40:34 UTC) #21
davidben
Actually, I should probably +mattm who is (a) arguably a better reviewer for this particular ...
5 years, 4 months ago (2015-08-20 01:56:43 UTC) #23
pneubeck (no reviews)
https://codereview.chromium.org/1274143002/diff/220001/chrome/browser/chromeos/certificate_provider/certificate_provider.h File chrome/browser/chromeos/certificate_provider/certificate_provider.h (right): https://codereview.chromium.org/1274143002/diff/220001/chrome/browser/chromeos/certificate_provider/certificate_provider.h#newcode15 chrome/browser/chromeos/certificate_provider/certificate_provider.h:15: typedef std::vector<scoped_refptr<X509Certificate>> CertificateList; On 2015/08/20 00:40:34, David Benjamin (slow) ...
5 years, 4 months ago (2015-08-20 07:18:23 UTC) #24
mattm
sorry for delay, lgtm!
5 years, 4 months ago (2015-08-21 20:34:21 UTC) #25
pneubeck (no reviews)
Steven: ptal at the new OWNERShip. mmenke@: ptal at profile_io_data.cc
5 years, 4 months ago (2015-08-22 08:30:03 UTC) #27
mmenke
On 2015/08/22 08:30:03, pneubeck wrote: > Steven: ptal at the new OWNERShip. > mmenke@: ptal ...
5 years, 4 months ago (2015-08-22 17:21:00 UTC) #28
mmenke
https://codereview.chromium.org/1274143002/diff/260001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/1274143002/diff/260001/chrome/browser/profiles/profile_io_data.cc#newcode117 chrome/browser/profiles/profile_io_data.cc:117: #include "chrome/browser/chromeos/certificate_provider/certificate_provider.h" If you're just passing in a NULL ...
5 years, 4 months ago (2015-08-22 17:21:54 UTC) #29
pneubeck (no reviews)
https://codereview.chromium.org/1274143002/diff/260001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/1274143002/diff/260001/chrome/browser/profiles/profile_io_data.cc#newcode117 chrome/browser/profiles/profile_io_data.cc:117: #include "chrome/browser/chromeos/certificate_provider/certificate_provider.h" On 2015/08/22 17:21:54, mmenke wrote: > If ...
5 years, 4 months ago (2015-08-23 19:31:31 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1274143002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1274143002/260001
5 years, 4 months ago (2015-08-23 19:31:48 UTC) #33
stevenjb
owner lgtm https://codereview.chromium.org/1274143002/diff/260001/chrome/browser/chromeos/certificate_provider/certificate_provider.h File chrome/browser/chromeos/certificate_provider/certificate_provider.h (right): https://codereview.chromium.org/1274143002/diff/260001/chrome/browser/chromeos/certificate_provider/certificate_provider.h#newcode18 chrome/browser/chromeos/certificate_provider/certificate_provider.h:18: CertificateProvider() {} nit: not needed? https://codereview.chromium.org/1274143002/diff/260001/chrome/browser/chromeos/net/client_cert_store_chromeos.cc File ...
5 years, 4 months ago (2015-08-24 21:09:39 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1274143002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1274143002/300001
5 years, 4 months ago (2015-08-25 07:39:18 UTC) #39
commit-bot: I haz the power
Committed patchset #7 (id:300001)
5 years, 4 months ago (2015-08-25 08:56:42 UTC) #40
commit-bot: I haz the power
5 years, 4 months ago (2015-08-25 08:57:14 UTC) #41
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/385704ecd579795bccfc03079191256700000daa
Cr-Commit-Position: refs/heads/master@{#345288}

Powered by Google App Engine
This is Rietveld 408576698