Index: net/ssl/client_cert_store_chromeos.h |
diff --git a/net/ssl/client_cert_store_chromeos.h b/net/ssl/client_cert_store_chromeos.h |
index 2bc359cd9a5f3a0c251bacf4281bc90d2d52c1ed..c58f7ba3f9043ddfabe4871cf451b117086dce33 100644 |
--- a/net/ssl/client_cert_store_chromeos.h |
+++ b/net/ssl/client_cert_store_chromeos.h |
@@ -33,9 +33,11 @@ class NET_EXPORT ClientCertStoreChromeOS : public ClientCertStoreNSS { |
const scoped_refptr<X509Certificate>& cert) const = 0; |
}; |
- // This ClientCertStore will return only client certs that pass the filter |
- // |cert_filter|. |
+ // This ClientCertStore will return client certs from NSS certificate |
+ // databases that pass the filter |cert_filter| and unconditionally the certs |
+ // from |additional_certs|. |
ClientCertStoreChromeOS( |
+ const CertificateList& additional_certs, |
Ryan Sleevi
2015/08/07 23:51:09
Are you sure this is the right pattern? I don't be
pneubeck (no reviews)
2015/08/10 12:09:56
Yeah, I thought about that point as well.
As far a
davidben
2015/08/10 21:54:00
Honestly, this whole ClientCertStore thing is pret
pneubeck (no reviews)
2015/08/13 12:25:24
Done.
|
scoped_ptr<CertFilter> cert_filter, |
const PasswordDelegateFactory& password_delegate_factory); |
~ClientCertStoreChromeOS() override; |
@@ -57,6 +59,7 @@ class NET_EXPORT ClientCertStoreChromeOS : public ClientCertStoreNSS { |
CertificateList* selected_certs, |
const base::Closure& callback); |
+ const CertificateList additional_certs_; |
scoped_ptr<CertFilter> cert_filter_; |
DISALLOW_COPY_AND_ASSIGN(ClientCertStoreChromeOS); |