Source code

Revision control

Other Tools

1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* vim:set ts=2 sw=2 sts=2 et cindent: */
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
7
#ifndef FuzzySecurityInfo_h__
8
#define FuzzySecurityInfo_h__
9
10
#include "prerror.h"
11
#include "sslproto.h"
12
#include "sslt.h"
13
14
#include "nsCOMPtr.h"
15
#include "nsISSLSocketControl.h"
16
#include "nsIInterfaceRequestor.h"
17
#include "nsITransportSecurityInfo.h"
18
19
namespace mozilla {
20
namespace net {
21
22
class FuzzySecurityInfo final : public nsITransportSecurityInfo,
23
public nsIInterfaceRequestor,
24
public nsISSLSocketControl {
25
public:
26
FuzzySecurityInfo();
27
28
NS_DECL_THREADSAFE_ISUPPORTS
29
NS_DECL_NSITRANSPORTSECURITYINFO
30
NS_DECL_NSIINTERFACEREQUESTOR
31
NS_DECL_NSISSLSOCKETCONTROL
32
33
protected:
34
virtual ~FuzzySecurityInfo();
35
36
private:
37
nsCOMPtr<nsIInterfaceRequestor> mCallbacks;
38
39
}; // class FuzzySecurityInfo
40
41
} // namespace net
42
} // namespace mozilla
43
44
#endif // FuzzySecurityInfo_h__