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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDivertableChannel.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDivertableChannel_h__
       6             : #define __gen_nsIDivertableChannel_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.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             : namespace mozilla {
      18             : namespace net {
      19             : class ChannelDiverterChild;
      20             : }
      21             : }
      22             : class nsIStreamListener; /* forward declaration */
      23             : 
      24             : 
      25             : /* starting interface:    nsIDivertableChannel */
      26             : #define NS_IDIVERTABLECHANNEL_IID_STR "7a9bf52d-f828-4b31-b8df-b40fdd37d007"
      27             : 
      28             : #define NS_IDIVERTABLECHANNEL_IID \
      29             :   {0x7a9bf52d, 0xf828, 0x4b31, \
      30             :     { 0xb8, 0xdf, 0xb4, 0x0f, 0xdd, 0x37, 0xd0, 0x07 }}
      31             : 
      32           3 : class NS_NO_VTABLE nsIDivertableChannel : public nsISupports {
      33             :  public:
      34             : 
      35             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDIVERTABLECHANNEL_IID)
      36             : 
      37             :   /* ChannelDiverterChild divertToParent (); */
      38             :   NS_IMETHOD DivertToParent(mozilla::net::ChannelDiverterChild **_retval) = 0;
      39             : 
      40             :   /* void unknownDecoderInvolvedKeepData (); */
      41             :   NS_IMETHOD UnknownDecoderInvolvedKeepData(void) = 0;
      42             : 
      43             :   /* void unknownDecoderInvolvedOnStartRequestCalled (); */
      44             :   NS_IMETHOD UnknownDecoderInvolvedOnStartRequestCalled(void) = 0;
      45             : 
      46             :   /* readonly attribute bool divertingToParent; */
      47             :   NS_IMETHOD GetDivertingToParent(bool *aDivertingToParent) = 0;
      48             : 
      49             : };
      50             : 
      51             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDivertableChannel, NS_IDIVERTABLECHANNEL_IID)
      52             : 
      53             : /* Use this macro when declaring classes that implement this interface. */
      54             : #define NS_DECL_NSIDIVERTABLECHANNEL \
      55             :   NS_IMETHOD DivertToParent(mozilla::net::ChannelDiverterChild **_retval) override; \
      56             :   NS_IMETHOD UnknownDecoderInvolvedKeepData(void) override; \
      57             :   NS_IMETHOD UnknownDecoderInvolvedOnStartRequestCalled(void) override; \
      58             :   NS_IMETHOD GetDivertingToParent(bool *aDivertingToParent) override; 
      59             : 
      60             : /* Use this macro when declaring the members of this interface when the
      61             :    class doesn't implement the interface. This is useful for forwarding. */
      62             : #define NS_DECL_NON_VIRTUAL_NSIDIVERTABLECHANNEL \
      63             :   nsresult DivertToParent(mozilla::net::ChannelDiverterChild **_retval); \
      64             :   nsresult UnknownDecoderInvolvedKeepData(void); \
      65             :   nsresult UnknownDecoderInvolvedOnStartRequestCalled(void); \
      66             :   nsresult GetDivertingToParent(bool *aDivertingToParent); 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      69             : #define NS_FORWARD_NSIDIVERTABLECHANNEL(_to) \
      70             :   NS_IMETHOD DivertToParent(mozilla::net::ChannelDiverterChild **_retval) override { return _to DivertToParent(_retval); } \
      71             :   NS_IMETHOD UnknownDecoderInvolvedKeepData(void) override { return _to UnknownDecoderInvolvedKeepData(); } \
      72             :   NS_IMETHOD UnknownDecoderInvolvedOnStartRequestCalled(void) override { return _to UnknownDecoderInvolvedOnStartRequestCalled(); } \
      73             :   NS_IMETHOD GetDivertingToParent(bool *aDivertingToParent) override { return _to GetDivertingToParent(aDivertingToParent); } 
      74             : 
      75             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      76             : #define NS_FORWARD_SAFE_NSIDIVERTABLECHANNEL(_to) \
      77             :   NS_IMETHOD DivertToParent(mozilla::net::ChannelDiverterChild **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DivertToParent(_retval); } \
      78             :   NS_IMETHOD UnknownDecoderInvolvedKeepData(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnknownDecoderInvolvedKeepData(); } \
      79             :   NS_IMETHOD UnknownDecoderInvolvedOnStartRequestCalled(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnknownDecoderInvolvedOnStartRequestCalled(); } \
      80             :   NS_IMETHOD GetDivertingToParent(bool *aDivertingToParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDivertingToParent(aDivertingToParent); } 
      81             : 
      82             : #if 0
      83             : /* Use the code below as a template for the implementation class for this interface. */
      84             : 
      85             : /* Header file */
      86             : class nsDivertableChannel : public nsIDivertableChannel
      87             : {
      88             : public:
      89             :   NS_DECL_ISUPPORTS
      90             :   NS_DECL_NSIDIVERTABLECHANNEL
      91             : 
      92             :   nsDivertableChannel();
      93             : 
      94             : private:
      95             :   ~nsDivertableChannel();
      96             : 
      97             : protected:
      98             :   /* additional members */
      99             : };
     100             : 
     101             : /* Implementation file */
     102             : NS_IMPL_ISUPPORTS(nsDivertableChannel, nsIDivertableChannel)
     103             : 
     104             : nsDivertableChannel::nsDivertableChannel()
     105             : {
     106             :   /* member initializers and constructor code */
     107             : }
     108             : 
     109             : nsDivertableChannel::~nsDivertableChannel()
     110             : {
     111             :   /* destructor code */
     112             : }
     113             : 
     114             : /* ChannelDiverterChild divertToParent (); */
     115             : NS_IMETHODIMP nsDivertableChannel::DivertToParent(mozilla::net::ChannelDiverterChild **_retval)
     116             : {
     117             :     return NS_ERROR_NOT_IMPLEMENTED;
     118             : }
     119             : 
     120             : /* void unknownDecoderInvolvedKeepData (); */
     121             : NS_IMETHODIMP nsDivertableChannel::UnknownDecoderInvolvedKeepData()
     122             : {
     123             :     return NS_ERROR_NOT_IMPLEMENTED;
     124             : }
     125             : 
     126             : /* void unknownDecoderInvolvedOnStartRequestCalled (); */
     127             : NS_IMETHODIMP nsDivertableChannel::UnknownDecoderInvolvedOnStartRequestCalled()
     128             : {
     129             :     return NS_ERROR_NOT_IMPLEMENTED;
     130             : }
     131             : 
     132             : /* readonly attribute bool divertingToParent; */
     133             : NS_IMETHODIMP nsDivertableChannel::GetDivertingToParent(bool *aDivertingToParent)
     134             : {
     135             :     return NS_ERROR_NOT_IMPLEMENTED;
     136             : }
     137             : 
     138             : /* End of implementation class template. */
     139             : #endif
     140             : 
     141             : 
     142             : #endif /* __gen_nsIDivertableChannel_h__ */

Generated by: LCOV version 1.13