| 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 #ifndef NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ | 5 #ifndef NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ |
| 6 #define NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ | 6 #define NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "crypto/scoped_nss_types.h" | 10 #include "crypto/scoped_nss_types.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // filter the system store when GetClientCerts() is called. | 49 // filter the system store when GetClientCerts() is called. |
| 50 // Implemented by creating a list of certificates that otherwise would be | 50 // Implemented by creating a list of certificates that otherwise would be |
| 51 // extracted from the system store and filtering it using the common logic | 51 // extracted from the system store and filtering it using the common logic |
| 52 // (less adequate than the approach used on Windows). | 52 // (less adequate than the approach used on Windows). |
| 53 bool SelectClientCertsForTesting(const CertificateList& input_certs, | 53 bool SelectClientCertsForTesting(const CertificateList& input_certs, |
| 54 const SSLCertRequestInfo& cert_request_info, | 54 const SSLCertRequestInfo& cert_request_info, |
| 55 CertificateList* selected_certs); | 55 CertificateList* selected_certs); |
| 56 | 56 |
| 57 | 57 |
| 58 std::string username_hash_; | 58 std::string username_hash_; |
| 59 NSSProfileFilterChromeOS profile_filter_; | 59 scoped_refptr<NSSProfileFilterChromeOS> profile_filter_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreChromeOS); | 61 DISALLOW_COPY_AND_ASSIGN(ClientCertStoreChromeOS); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace net | 64 } // namespace net |
| 65 | 65 |
| 66 #endif // NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ | 66 #endif // NET_SSL_CLIENT_CERT_STORE_CHROMEOS_H_ |
| OLD | NEW |