diff options
Diffstat (limited to 'net/ssl/client_cert_store_win_unittest.cc')
-rw-r--r-- | net/ssl/client_cert_store_win_unittest.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/ssl/client_cert_store_win_unittest.cc b/net/ssl/client_cert_store_win_unittest.cc new file mode 100644 index 0000000..eb8c0a6 --- /dev/null +++ b/net/ssl/client_cert_store_win_unittest.cc @@ -0,0 +1,28 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "net/ssl/client_cert_store_win.h" + +#include "net/ssl/client_cert_store_unittest-inl.h" + +namespace net { + +class ClientCertStoreWinTestDelegate { + public: + bool SelectClientCerts(const CertificateList& input_certs, + const SSLCertRequestInfo& cert_request_info, + CertificateList* selected_certs) { + return store_.SelectClientCertsForTesting( + input_certs, cert_request_info, selected_certs); + } + + private: + ClientCertStoreWin store_; +}; + +INSTANTIATE_TYPED_TEST_CASE_P(Win, + ClientCertStoreTest, + ClientCertStoreWinTestDelegate); + +} // namespace net |