Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/security/manager/ssl/PKCS11ModuleDB.h
Line
Count
Source (jump to first uncovered line)
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2
 *
3
 * This Source Code Form is subject to the terms of the Mozilla Public
4
 * License, v. 2.0. If a copy of the MPL was not distributed with this
5
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
#ifndef PKCS11ModuleDB_h
7
#define PKCS11ModuleDB_h
8
9
#include "nsIPKCS11ModuleDB.h"
10
11
#include "nsString.h"
12
13
namespace mozilla { namespace psm {
14
15
#define NS_PKCS11MODULEDB_CID \
16
{ 0xff9fbcd7, 0x9517, 0x4334, \
17
  { 0xb9, 0x7a, 0xce, 0xed, 0x78, 0x90, 0x99, 0x74 }}
18
19
class PKCS11ModuleDB : public nsIPKCS11ModuleDB
20
{
21
public:
22
0
  PKCS11ModuleDB() {}
23
24
  NS_DECL_ISUPPORTS
25
  NS_DECL_NSIPKCS11MODULEDB
26
27
protected:
28
0
  virtual ~PKCS11ModuleDB() {}
29
};
30
31
void GetModuleNameForTelemetry(/*in*/ const SECMODModule* module,
32
                               /*out*/nsString& result);
33
34
} } // namespace mozilla::psm
35
36
#endif // PKCS11ModuleDB_h