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..ea1c71675b9894143977f577cb9071d03ee6c15e |
--- /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(); |
+ |
+ DidCreateNSSCertDatabase(make_scoped_ptr(new net::NSSCertDatabase( |
+ crypto::ScopedPK11Slot( |
+ crypto::GetPersistentNSSKeySlot()) /* public slot */, |
+ crypto::ScopedPK11Slot( |
+ crypto::GetPersistentNSSKeySlot()) /* private slot */))); |
+} |
+ |
+} // namespace cert_database |