| 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..d63a29a5f8ba4c560bd1f6a8cb3336f119652d5d 100644
|
| --- a/net/ssl/client_cert_store_mac.h
|
| +++ b/net/ssl/client_cert_store_mac.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef NET_SSL_CLIENT_CERT_STORE_MAC_H_
|
| #define NET_SSL_CLIENT_CERT_STORE_MAC_H_
|
|
|
| +#include <Security/Security.h>
|
| +
|
| #include "base/callback.h"
|
| #include "base/macros.h"
|
| #include "net/base/net_export.h"
|
| @@ -45,6 +47,14 @@ class NET_EXPORT ClientCertStoreMac : public ClientCertStore {
|
| const SSLCertRequestInfo& request,
|
| CertificateList* selected_certs);
|
|
|
| + // Given an |identity| identifies its corresponding certificate, and either
|
| + // adds it to |regular_certs| or assigns it to |preferred_cert|, if the
|
| + // |identity| matches the |preferred_identity|.
|
| + void AddIdentity(CertificateList& regular_certs,
|
| + scoped_refptr<X509Certificate>& preferred_cert,
|
| + SecIdentityRef preferred_identity,
|
| + SecIdentityRef identity);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ClientCertStoreMac);
|
| };
|
|
|
|
|