Bug 1568126 - Part 1: Use the contextual WalkerFront in _hideHighlighterIfDeadNode...
[gecko.git] / netwerk / build / nsNetModule.h
blob3a83f82a3ec6a692cd08411c7ed009ccd1577340
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef nsNetModule_h
7 #define nsNetModule_h
9 #include "nsID.h"
11 class nsISupports;
13 nsresult nsNetStartup();
14 void nsNetShutdown();
16 nsresult CreateNewStreamConvServiceFactory(nsISupports* aOuter,
17 const nsIID& aIID, void** aResult);
18 nsresult CreateNewFTPDirListingConv(nsISupports* aOuter, const nsIID& aIID,
19 void** aResult);
20 nsresult CreateNewMultiMixedConvFactory(nsISupports* aOuter, const nsIID& aIID,
21 void** aResult);
22 nsresult CreateNewTXTToHTMLConvFactory(nsISupports* aOuter, const nsIID& aIID,
23 void** aResult);
24 nsresult CreateNewHTTPCompressConvFactory(nsISupports* aOuter,
25 const nsIID& aIID, void** aResult);
26 nsresult CreateNewUnknownDecoderFactory(nsISupports* aOuter, const nsIID& aIID,
27 void** aResult);
28 nsresult CreateNewBinaryDetectorFactory(nsISupports* aOuter, const nsIID& aIID,
29 void** aResult);
30 nsresult nsLoadGroupConstructor(nsISupports* aOuter, const nsIID& aIID,
31 void** aResult);
33 nsresult nsCacheServiceConstructor(nsISupports* aOuter, const nsIID& aIID,
34 void** aResult);
36 extern nsresult net_NewIncrementalDownload(nsISupports*, const nsIID&, void**);
38 namespace mozilla {
39 namespace net {
40 nsresult WebSocketChannelConstructor(nsISupports* aOuter, const nsIID& aIID,
41 void** aResult);
42 nsresult WebSocketSSLChannelConstructor(nsISupports* aOuter, const nsIID& aIID,
43 void** aResult);
44 } // namespace net
45 } // namespace mozilla
47 #endif