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

Unified Diff: net/ssl/client_cert_store_mac.h

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: rebase on https://codereview.chromium.org/2899083006/ Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ssl/client_cert_store.h ('k') | net/ssl/client_cert_store_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/client_cert_store_mac.h
diff --git a/net/ssl/client_cert_store_mac.h b/net/ssl/client_cert_store_mac.h
index 1bad779dd35377fb284356148a9d8eb1f1f5bd3d..fc00574705d0808d38af95e001311179774662bf 100644
--- a/net/ssl/client_cert_store_mac.h
+++ b/net/ssl/client_cert_store_mac.h
@@ -31,19 +31,19 @@ class NET_EXPORT ClientCertStoreMac : public ClientCertStore {
// Implemented by creating a list of certificates that otherwise would be
// extracted from the system store and filtering it using the common logic
// (less adequate than the approach used on Windows).
- bool SelectClientCertsForTesting(const CertificateList& input_certs,
+ bool SelectClientCertsForTesting(ClientCertIdentityList input_certs,
const SSLCertRequestInfo& cert_request_info,
- CertificateList* selected_certs);
+ ClientCertIdentityList* selected_certs);
// Testing hook specific to Mac, where the internal logic recognizes preferred
// certificates for particular domains. If the preferred certificate is
// present in the output list (i.e. it doesn't get filtered out), it should
// always come first.
bool SelectClientCertsGivenPreferredForTesting(
- const scoped_refptr<X509Certificate>& preferred_cert,
- const CertificateList& regular_certs,
+ std::unique_ptr<ClientCertIdentity> preferred_cert,
+ ClientCertIdentityList regular_certs,
const SSLCertRequestInfo& request,
- CertificateList* selected_certs);
+ ClientCertIdentityList* selected_certs);
DISALLOW_COPY_AND_ASSIGN(ClientCertStoreMac);
};
« no previous file with comments | « net/ssl/client_cert_store.h ('k') | net/ssl/client_cert_store_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698