Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1290)

Unified Diff: net/ssl/client_cert_store_chromeos_unittest.cc

Issue 383593002: Add GetSystemNSSKeySlot, merge GetPrivateNSSKeySlot/GetPublicNSSKeySlot to GetPersistentNSSKeySlot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changes for comment #5 Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_server_socket_nss.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/client_cert_store_chromeos_unittest.cc
diff --git a/net/ssl/client_cert_store_chromeos_unittest.cc b/net/ssl/client_cert_store_chromeos_unittest.cc
index de0358df15bfe8bd06f8e068093e9409f1eebeae..65b668dbb25d21696337db71aeef49b0d5c58ded 100644
--- a/net/ssl/client_cert_store_chromeos_unittest.cc
+++ b/net/ssl/client_cert_store_chromeos_unittest.cc
@@ -16,27 +16,6 @@
namespace net {
-class ClientCertStoreChromeOSTestDelegate {
- public:
- ClientCertStoreChromeOSTestDelegate()
- : store_("usernamehash",
- ClientCertStoreChromeOS::PasswordDelegateFactory()) {
- store_.InitForTesting(
- crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot()),
- crypto::ScopedPK11Slot(crypto::GetPrivateNSSKeySlot()));
- }
-
- 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:
- ClientCertStoreChromeOS store_;
-};
-
class ClientCertStoreChromeOSTest : public ::testing::Test {
public:
scoped_refptr<X509Certificate> ImportCertForUser(
« no previous file with comments | « net/socket/ssl_server_socket_nss.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698