media: Specify WebRTC owners in media OWNERS file.
[chromium-blink-merge.git] / net / ssl / client_cert_store_nss_unittest.cc
blob6690e674966ed95c31dad55dacf268f0b921b471
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.
5 #include "net/ssl/client_cert_store_nss.h"
7 #include "net/ssl/client_cert_store_unittest-inl.h"
9 namespace net {
11 class ClientCertStoreNSSTestDelegate {
12 public:
13 ClientCertStoreNSSTestDelegate()
14 : store_(ClientCertStoreNSS::PasswordDelegateFactory()) {}
16 bool SelectClientCerts(const CertificateList& input_certs,
17 const SSLCertRequestInfo& cert_request_info,
18 CertificateList* selected_certs) {
19 return store_.SelectClientCertsForTesting(
20 input_certs, cert_request_info, selected_certs);
23 private:
24 ClientCertStoreNSS store_;
27 INSTANTIATE_TYPED_TEST_CASE_P(NSS,
28 ClientCertStoreTest,
29 ClientCertStoreNSSTestDelegate);
31 } // namespace net