| OLD | NEW |
| 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 |
| OLD | NEW |