client_cert_store_win_unittest.cc 851 B

12345678910111213141516171819202122232425262728
  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
  3. // found in the LICENSE file.
  4. #include "net/ssl/client_cert_store_win.h"
  5. #include "net/ssl/client_cert_store_unittest-inl.h"
  6. namespace net {
  7. class ClientCertStoreWinTestDelegate {
  8. public:
  9. bool SelectClientCerts(const CertificateList& input_certs,
  10. const SSLCertRequestInfo& cert_request_info,
  11. ClientCertIdentityList* selected_certs) {
  12. return store_.SelectClientCertsForTesting(
  13. input_certs, cert_request_info, selected_certs);
  14. }
  15. private:
  16. ClientCertStoreWin store_;
  17. };
  18. INSTANTIATE_TYPED_TEST_SUITE_P(Win,
  19. ClientCertStoreTest,
  20. ClientCertStoreWinTestDelegate);
  21. } // namespace net