Merge mozilla-central to autoland on a CLOSED TREE
[gecko.git] / netwerk / socket / nsISocketProviderService.idl
blobdb38d299a58d2496a93c08edbde066df084ddbb8
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;
10 /**
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);