1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 #include
"nsISupports.idl"
8 interface nsISocketProvider
;
11 * nsISocketProviderService
13 * Provides a mapping between a socket type and its associated socket provider
14 * instance. One could also use the service manager directly.
16 [scriptable
, uuid(8f8a23d0
-5472-11d3
-bbc8
-0000861d1237
)]
17 interface nsISocketProviderService
: nsISupports
19 nsISocketProvider getSocketProvider
(in string socketType
);