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

Side by Side Diff: net/ssl/client_cert_store_win.h

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « net/ssl/client_cert_store_unittest-inl.h ('k') | net/ssl/client_cert_store_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SSL_CLIENT_CERT_STORE_WIN_H_ 5 #ifndef NET_SSL_CLIENT_CERT_STORE_WIN_H_
6 #define NET_SSL_CLIENT_CERT_STORE_WIN_H_ 6 #define NET_SSL_CLIENT_CERT_STORE_WIN_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "crypto/scoped_capi_types.h" 10 #include "crypto/scoped_capi_types.h"
(...skipping 27 matching lines...) Expand all
38 CERT_CLOSE_STORE_CHECK_FLAG>>; 38 CERT_CLOSE_STORE_CHECK_FLAG>>;
39 39
40 friend class ClientCertStoreWinTestDelegate; 40 friend class ClientCertStoreWinTestDelegate;
41 41
42 // A hook for testing. Filters |input_certs| using the logic being used to 42 // A hook for testing. Filters |input_certs| using the logic being used to
43 // filter the system store when GetClientCerts() is called. 43 // filter the system store when GetClientCerts() is called.
44 // Implemented by creating a temporary in-memory store and filtering it 44 // Implemented by creating a temporary in-memory store and filtering it
45 // using the common logic. 45 // using the common logic.
46 bool SelectClientCertsForTesting(const CertificateList& input_certs, 46 bool SelectClientCertsForTesting(const CertificateList& input_certs,
47 const SSLCertRequestInfo& cert_request_info, 47 const SSLCertRequestInfo& cert_request_info,
48 CertificateList* selected_certs); 48 ClientCertIdentityList* selected_identities);
49 49
50 ScopedHCERTSTORE cert_store_; 50 ScopedHCERTSTORE cert_store_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreWin); 52 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreWin);
53 }; 53 };
54 54
55 } // namespace net 55 } // namespace net
56 56
57 #endif // NET_SSL_CLIENT_CERT_STORE_WIN_H_ 57 #endif // NET_SSL_CLIENT_CERT_STORE_WIN_H_
OLDNEW
« no previous file with comments | « net/ssl/client_cert_store_unittest-inl.h ('k') | net/ssl/client_cert_store_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698