LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIProxiedProtocolHandler.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/netwerk/base/public/nsIProxiedProtocolHandler.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIProxiedProtocolHandler_h__
       6                 : #define __gen_nsIProxiedProtocolHandler_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIProtocolHandler_h__
      10                 : #include "nsIProtocolHandler.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIChannel; /* forward declaration */
      18                 : 
      19                 : class nsIURI; /* forward declaration */
      20                 : 
      21                 : class nsIProxyInfo; /* forward declaration */
      22                 : 
      23                 : 
      24                 : /* starting interface:    nsIProxiedProtocolHandler */
      25                 : #define NS_IPROXIEDPROTOCOLHANDLER_IID_STR "0a24fed4-1dd2-11b2-a75c-9f8b9a8f9ba7"
      26                 : 
      27                 : #define NS_IPROXIEDPROTOCOLHANDLER_IID \
      28                 :   {0x0a24fed4, 0x1dd2, 0x11b2, \
      29                 :     { 0xa7, 0x5c, 0x9f, 0x8b, 0x9a, 0x8f, 0x9b, 0xa7 }}
      30                 : 
      31             736 : class NS_NO_VTABLE NS_SCRIPTABLE nsIProxiedProtocolHandler : public nsIProtocolHandler {
      32                 :  public: 
      33                 : 
      34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPROXIEDPROTOCOLHANDLER_IID)
      35                 : 
      36                 :   /* nsIChannel newProxiedChannel (in nsIURI uri, in nsIProxyInfo proxyInfo); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD NewProxiedChannel(nsIURI *uri, nsIProxyInfo *proxyInfo, nsIChannel * *_retval NS_OUTPARAM) = 0;
      38                 : 
      39                 : };
      40                 : 
      41                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIProxiedProtocolHandler, NS_IPROXIEDPROTOCOLHANDLER_IID)
      42                 : 
      43                 : /* Use this macro when declaring classes that implement this interface. */
      44                 : #define NS_DECL_NSIPROXIEDPROTOCOLHANDLER \
      45                 :   NS_SCRIPTABLE NS_IMETHOD NewProxiedChannel(nsIURI *uri, nsIProxyInfo *proxyInfo, nsIChannel * *_retval NS_OUTPARAM); 
      46                 : 
      47                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      48                 : #define NS_FORWARD_NSIPROXIEDPROTOCOLHANDLER(_to) \
      49                 :   NS_SCRIPTABLE NS_IMETHOD NewProxiedChannel(nsIURI *uri, nsIProxyInfo *proxyInfo, nsIChannel * *_retval NS_OUTPARAM) { return _to NewProxiedChannel(uri, proxyInfo, _retval); } 
      50                 : 
      51                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      52                 : #define NS_FORWARD_SAFE_NSIPROXIEDPROTOCOLHANDLER(_to) \
      53                 :   NS_SCRIPTABLE NS_IMETHOD NewProxiedChannel(nsIURI *uri, nsIProxyInfo *proxyInfo, nsIChannel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->NewProxiedChannel(uri, proxyInfo, _retval); } 
      54                 : 
      55                 : #if 0
      56                 : /* Use the code below as a template for the implementation class for this interface. */
      57                 : 
      58                 : /* Header file */
      59                 : class nsProxiedProtocolHandler : public nsIProxiedProtocolHandler
      60                 : {
      61                 : public:
      62                 :   NS_DECL_ISUPPORTS
      63                 :   NS_DECL_NSIPROXIEDPROTOCOLHANDLER
      64                 : 
      65                 :   nsProxiedProtocolHandler();
      66                 : 
      67                 : private:
      68                 :   ~nsProxiedProtocolHandler();
      69                 : 
      70                 : protected:
      71                 :   /* additional members */
      72                 : };
      73                 : 
      74                 : /* Implementation file */
      75                 : NS_IMPL_ISUPPORTS1(nsProxiedProtocolHandler, nsIProxiedProtocolHandler)
      76                 : 
      77                 : nsProxiedProtocolHandler::nsProxiedProtocolHandler()
      78                 : {
      79                 :   /* member initializers and constructor code */
      80                 : }
      81                 : 
      82                 : nsProxiedProtocolHandler::~nsProxiedProtocolHandler()
      83                 : {
      84                 :   /* destructor code */
      85                 : }
      86                 : 
      87                 : /* nsIChannel newProxiedChannel (in nsIURI uri, in nsIProxyInfo proxyInfo); */
      88                 : NS_IMETHODIMP nsProxiedProtocolHandler::NewProxiedChannel(nsIURI *uri, nsIProxyInfo *proxyInfo, nsIChannel * *_retval NS_OUTPARAM)
      89                 : {
      90                 :     return NS_ERROR_NOT_IMPLEMENTED;
      91                 : }
      92                 : 
      93                 : /* End of implementation class template. */
      94                 : #endif
      95                 : 
      96                 : 
      97                 : #endif /* __gen_nsIProxiedProtocolHandler_h__ */

Generated by: LCOV version 1.7