| Index: components/cert_database/linux/cert_database_service_io_part_linux.cc
|
| diff --git a/components/cert_database/linux/cert_database_service_io_part_linux.cc b/components/cert_database/linux/cert_database_service_io_part_linux.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cbf35616aed0edc25c55ff6730d2b5a72a685e5a
|
| --- /dev/null
|
| +++ b/components/cert_database/linux/cert_database_service_io_part_linux.cc
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "components/cert_database/public/linux/cert_database_service_io_part_linux.h"
|
| +
|
| +#include "crypto/nss_util_internal.h"
|
| +#include "net/cert/nss_cert_database.h"
|
| +
|
| +namespace cert_database {
|
| +
|
| +CertDatabaseServiceIOPartLinux::CertDatabaseServiceIOPartLinux() {
|
| +}
|
| +
|
| +CertDatabaseServiceIOPartLinux::~CertDatabaseServiceIOPartLinux() {
|
| +}
|
| +
|
| +void CertDatabaseServiceIOPartLinux::Init() {
|
| + CertDatabaseServiceIOPart::Init();
|
| +
|
| + SetNSSCertDatabase(make_scoped_ptr(new net::NSSCertDatabase(
|
| + crypto::ScopedPK11Slot(
|
| + crypto::GetPersistentNSSKeySlot()) /* public slot */,
|
| + crypto::ScopedPK11Slot(
|
| + crypto::GetPersistentNSSKeySlot()) /* private slot */)));
|
| +}
|
| +
|
| +} // namespace cert_database
|
|
|