Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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/. */
7 #ifndef _NSTLSSOCKETPROVIDER_H_
8 #define _NSTLSSOCKETPROVIDER_H_
10 #include "nsISocketProvider.h"
13 #define NS_STARTTLSSOCKETPROVIDER_CID \
14 { /* b9507aec-1dd1-11b2-8cd5-c48ee0c50307 */ \
15 0xb9507aec, \
16 0x1dd1, \
17 0x11b2, \
18 {0x8c, 0xd5, 0xc4, 0x8e, 0xe0, 0xc5, 0x03, 0x07} \
19 }
21 class nsTLSSocketProvider : public nsISocketProvider
22 {
23 public:
24 NS_DECL_THREADSAFE_ISUPPORTS
25 NS_DECL_NSISOCKETPROVIDER
27 // nsTLSSocketProvider methods:
28 nsTLSSocketProvider();
29 virtual ~nsTLSSocketProvider();
30 };
32 #endif /* _NSTLSSOCKETPROVIDER_H_ */