summaryrefslogtreecommitdiff
path: root/security/manager/ssl/WeakCryptoOverride.h
blob: fefee75ef958099d1e8a88b8ce0f18a7b5c0bce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef WEAKCRYPTOOVERRIDE_H
#define WEAKCRYPTOOVERRIDE_H

#include "nsIWeakCryptoOverride.h"
#include "nsWeakReference.h"

namespace mozilla {
namespace psm {

class WeakCryptoOverride final : public nsIWeakCryptoOverride
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIWEAKCRYPTOOVERRIDE

  WeakCryptoOverride();

protected:
  ~WeakCryptoOverride();
};

} // psm
} // mozilla

#define NS_WEAKCRYPTOOVERRIDE_CID /* ffb06724-3c20-447c-8328-ae71513dd618 */ \
{ 0xffb06724, 0x3c20, 0x447c, \
  { 0x83, 0x28, 0xae, 0x71, 0x51, 0x3d, 0xd6, 0x18 } }

#endif