Bug 1815313 - Add test for invalid schemes in onLoadRequest. r=jonalmeida
[gecko.git] / netwerk / build / nsNetModule.h
blobcb3da83220d6c5900ed541da5acf40953552039c
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(const nsIID& aIID, void** aResult);
17 nsresult CreateNewMultiMixedConvFactory(const nsIID& aIID, void** aResult);
18 nsresult CreateNewTXTToHTMLConvFactory(const nsIID& aIID, void** aResult);
19 nsresult CreateNewHTTPCompressConvFactory(const nsIID& aIID, void** aResult);
20 nsresult CreateNewUnknownDecoderFactory(const nsIID& aIID, void** aResult);
21 nsresult CreateNewBinaryDetectorFactory(const nsIID& aIID, void** aResult);
22 nsresult nsLoadGroupConstructor(const nsIID& aIID, void** aResult);
24 extern nsresult net_NewIncrementalDownload(const nsIID&, void**);
26 namespace mozilla {
27 namespace net {
28 nsresult WebSocketChannelConstructor(const nsIID& aIID, void** aResult);
29 nsresult WebSocketSSLChannelConstructor(const nsIID& aIID, void** aResult);
30 } // namespace net
31 } // namespace mozilla
33 #endif