OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 |
| 5 #include "components/cert_database/public/linux/cert_database_service_io_part_li
nux.h" |
| 6 |
| 7 #include "crypto/nss_util_internal.h" |
| 8 #include "net/cert/nss_cert_database.h" |
| 9 |
| 10 namespace cert_database { |
| 11 |
| 12 CertDatabaseServiceIOPartLinux::CertDatabaseServiceIOPartLinux() { |
| 13 } |
| 14 |
| 15 CertDatabaseServiceIOPartLinux::~CertDatabaseServiceIOPartLinux() { |
| 16 } |
| 17 |
| 18 void CertDatabaseServiceIOPartLinux::Init() { |
| 19 CertDatabaseServiceIOPart::Init(); |
| 20 |
| 21 DidCreateNSSCertDatabase(make_scoped_ptr(new net::NSSCertDatabase( |
| 22 crypto::ScopedPK11Slot( |
| 23 crypto::GetPersistentNSSKeySlot()) /* public slot */, |
| 24 crypto::ScopedPK11Slot( |
| 25 crypto::GetPersistentNSSKeySlot()) /* private slot */))); |
| 26 } |
| 27 |
| 28 } // namespace cert_database |
OLD | NEW |