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

Side by Side Diff: components/cert_database/cert_database_service_io_part_linux.cc

Issue 419013003: Replace c/b/nss_context by a KeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Flattened components/cert_database folders. Created 6 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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/cert_database_service_io_part_linux.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 SetNSSCertDatabase(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
OLDNEW
« no previous file with comments | « components/cert_database/cert_database_service_io_part_linux.h ('k') | components/components.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698