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

Side by Side Diff: net/ssl/client_cert_store_win_unittest.cc

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_win.cc ('k') | net/ssl/client_key_store.h » ('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 #include "net/ssl/client_cert_store_win.h" 5 #include "net/ssl/client_cert_store_win.h"
6 6
7 #include "net/ssl/client_cert_store_unittest-inl.h" 7 #include "net/ssl/client_cert_store_unittest-inl.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 class ClientCertStoreWinTestDelegate { 11 class ClientCertStoreWinTestDelegate {
12 public: 12 public:
13 bool SelectClientCerts(const CertificateList& input_certs, 13 bool SelectClientCerts(const CertificateList& input_certs,
14 const SSLCertRequestInfo& cert_request_info, 14 const SSLCertRequestInfo& cert_request_info,
15 CertificateList* selected_certs) { 15 ClientCertIdentityList* selected_certs) {
16 return store_.SelectClientCertsForTesting( 16 return store_.SelectClientCertsForTesting(
17 input_certs, cert_request_info, selected_certs); 17 input_certs, cert_request_info, selected_certs);
18 } 18 }
19 19
20 private: 20 private:
21 ClientCertStoreWin store_; 21 ClientCertStoreWin store_;
22 }; 22 };
23 23
24 INSTANTIATE_TYPED_TEST_CASE_P(Win, 24 INSTANTIATE_TYPED_TEST_CASE_P(Win,
25 ClientCertStoreTest, 25 ClientCertStoreTest,
26 ClientCertStoreWinTestDelegate); 26 ClientCertStoreWinTestDelegate);
27 27
28 } // namespace net 28 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/client_cert_store_win.cc ('k') | net/ssl/client_key_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698