mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
fixes bug 246337 "nsIProxy is unused and should be removed; nsISOCKS4SocketInfo is also unused and can be likewise removed" r=biesi
This commit is contained in:
parent
120fd5c31a
commit
96dfe84514
@ -77,7 +77,6 @@ XPIDLSRCS = \
|
||||
nsIPrompt.idl \
|
||||
nsIProtocolProxyService.idl \
|
||||
nsIProxiedProtocolHandler.idl \
|
||||
nsIProxy.idl \
|
||||
nsIProxyAutoConfig.idl \
|
||||
nsIProxyInfo.idl \
|
||||
nsITransport.idl \
|
||||
|
@ -1,54 +0,0 @@
|
||||
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/*
|
||||
The nsIProxy interface allows setting and getting of proxy host and port.
|
||||
This is for use by protocol handlers. If you are writing a protocol handler
|
||||
and would like to support proxy behaviour then derive from this as well as
|
||||
the nsIProtocolHandler class.
|
||||
|
||||
-Gagan Saksena 02/25/99
|
||||
*/
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[scriptable, uuid(0492D011-CD2F-11d2-B013-006097BFC036)]
|
||||
interface nsIProxy : nsISupports
|
||||
{
|
||||
|
||||
};
|
||||
|
@ -54,7 +54,6 @@
|
||||
#include "nsIURI.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIPrompt.h"
|
||||
#include "nsIProxy.h"
|
||||
#include "nsIStreamListener.h"
|
||||
#include "nsISocketTransport.h"
|
||||
#include "nsIProgressEventSink.h"
|
||||
|
@ -56,7 +56,6 @@
|
||||
#include "nsIObserver.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsIProxyObjectManager.h"
|
||||
#include "nsIProxy.h"
|
||||
#include "nsIStreamConverterService.h"
|
||||
#include "nsICacheSession.h"
|
||||
#include "nsIEventQueueService.h"
|
||||
|
@ -1,54 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "nsIProxy.idl"
|
||||
|
||||
%{C++
|
||||
#include "prtypes.h"
|
||||
#include "prio.h"
|
||||
%}
|
||||
|
||||
[ptr] native prNetAddr(PRNetAddr);
|
||||
|
||||
[noscript, uuid(35B34E33-5756-4742-893A-D45D49A11942)]
|
||||
interface nsISOCKS4SocketInfo : nsIProxy {
|
||||
|
||||
attribute prNetAddr destinationAddr;
|
||||
attribute prNetAddr externalProxyAddr;
|
||||
attribute prNetAddr internalProxyAddr;
|
||||
};
|
@ -37,19 +37,14 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "nsIProxy.idl"
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{C++
|
||||
#include "prtypes.h"
|
||||
#include "prio.h"
|
||||
%}
|
||||
|
||||
[ptr] native prNetAddr(PRNetAddr);
|
||||
[ptr] native PRNetAddrPtr(union PRNetAddr);
|
||||
|
||||
[noscript, uuid(8f755c44-1dd2-11b2-a613-91117453fa95)]
|
||||
interface nsISOCKSSocketInfo : nsIProxy {
|
||||
|
||||
attribute prNetAddr destinationAddr;
|
||||
attribute prNetAddr externalProxyAddr;
|
||||
attribute prNetAddr internalProxyAddr;
|
||||
interface nsISOCKSSocketInfo : nsISupports
|
||||
{
|
||||
attribute PRNetAddrPtr destinationAddr;
|
||||
attribute PRNetAddrPtr externalProxyAddr;
|
||||
attribute PRNetAddrPtr internalProxyAddr;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user