LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIWebRequestListener.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIWebRequestListener.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIWebRequestListener_h__
       6             : #define __gen_nsIWebRequestListener_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIStreamListener_h__
      14             : #include "nsIStreamListener.h"
      15             : #endif
      16             : 
      17             : #ifndef __gen_nsITraceableChannel_h__
      18             : #include "nsITraceableChannel.h"
      19             : #endif
      20             : 
      21             : /* For IDL files that don't want to include root IDL files. */
      22             : #ifndef NS_NO_VTABLE
      23             : #define NS_NO_VTABLE
      24             : #endif
      25             : 
      26             : /* starting interface:    nsIWebRequestListener */
      27             : #define NS_IWEBREQUESTLISTENER_IID_STR "699a50bb-1f18-2844-b9ea-9f216f62cb18"
      28             : 
      29             : #define NS_IWEBREQUESTLISTENER_IID \
      30             :   {0x699a50bb, 0x1f18, 0x2844, \
      31             :     { 0xb9, 0xea, 0x9f, 0x21, 0x6f, 0x62, 0xcb, 0x18 }}
      32             : 
      33           0 : class NS_NO_VTABLE nsIWebRequestListener : public nsISupports {
      34             :  public:
      35             : 
      36             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEBREQUESTLISTENER_IID)
      37             : 
      38             :   /* void init (in nsIStreamListener aStreamListener, in nsITraceableChannel aTraceableChannel); */
      39             :   NS_IMETHOD Init(nsIStreamListener *aStreamListener, nsITraceableChannel *aTraceableChannel) = 0;
      40             : 
      41             : };
      42             : 
      43             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebRequestListener, NS_IWEBREQUESTLISTENER_IID)
      44             : 
      45             : /* Use this macro when declaring classes that implement this interface. */
      46             : #define NS_DECL_NSIWEBREQUESTLISTENER \
      47             :   NS_IMETHOD Init(nsIStreamListener *aStreamListener, nsITraceableChannel *aTraceableChannel) override; 
      48             : 
      49             : /* Use this macro when declaring the members of this interface when the
      50             :    class doesn't implement the interface. This is useful for forwarding. */
      51             : #define NS_DECL_NON_VIRTUAL_NSIWEBREQUESTLISTENER \
      52             :   nsresult Init(nsIStreamListener *aStreamListener, nsITraceableChannel *aTraceableChannel); 
      53             : 
      54             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      55             : #define NS_FORWARD_NSIWEBREQUESTLISTENER(_to) \
      56             :   NS_IMETHOD Init(nsIStreamListener *aStreamListener, nsITraceableChannel *aTraceableChannel) override { return _to Init(aStreamListener, aTraceableChannel); } 
      57             : 
      58             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      59             : #define NS_FORWARD_SAFE_NSIWEBREQUESTLISTENER(_to) \
      60             :   NS_IMETHOD Init(nsIStreamListener *aStreamListener, nsITraceableChannel *aTraceableChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aStreamListener, aTraceableChannel); } 
      61             : 
      62             : #if 0
      63             : /* Use the code below as a template for the implementation class for this interface. */
      64             : 
      65             : /* Header file */
      66             : class nsWebRequestListener : public nsIWebRequestListener
      67             : {
      68             : public:
      69             :   NS_DECL_ISUPPORTS
      70             :   NS_DECL_NSIWEBREQUESTLISTENER
      71             : 
      72             :   nsWebRequestListener();
      73             : 
      74             : private:
      75             :   ~nsWebRequestListener();
      76             : 
      77             : protected:
      78             :   /* additional members */
      79             : };
      80             : 
      81             : /* Implementation file */
      82             : NS_IMPL_ISUPPORTS(nsWebRequestListener, nsIWebRequestListener)
      83             : 
      84             : nsWebRequestListener::nsWebRequestListener()
      85             : {
      86             :   /* member initializers and constructor code */
      87             : }
      88             : 
      89             : nsWebRequestListener::~nsWebRequestListener()
      90             : {
      91             :   /* destructor code */
      92             : }
      93             : 
      94             : /* void init (in nsIStreamListener aStreamListener, in nsITraceableChannel aTraceableChannel); */
      95             : NS_IMETHODIMP nsWebRequestListener::Init(nsIStreamListener *aStreamListener, nsITraceableChannel *aTraceableChannel)
      96             : {
      97             :     return NS_ERROR_NOT_IMPLEMENTED;
      98             : }
      99             : 
     100             : /* End of implementation class template. */
     101             : #endif
     102             : 
     103             : /* ebea9901-e135-b546-82e2-052666992dbb */
     104             : #define NS_WEBREQUESTLISTENER_CID                   \
     105             :  {0xebea9901, 0xe135, 0xb546,                       \
     106             :  {0x82, 0xe2, 0x05, 0x26, 0x66, 0x99, 0x2d, 0xbb} }
     107             : #define NS_WEBREQUESTLISTENER_CONTRACTID "@mozilla.org/webextensions/webRequestListener;1"
     108             : 
     109             : #endif /* __gen_nsIWebRequestListener_h__ */

Generated by: LCOV version 1.13