LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIViewSourceChannel.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/nsIViewSourceChannel.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIViewSourceChannel_h__
       6             : #define __gen_nsIViewSourceChannel_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIChannel_h__
      10             : #include "nsIChannel.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             : 
      18             : /* starting interface:    nsIViewSourceChannel */
      19             : #define NS_IVIEWSOURCECHANNEL_IID_STR "3e9800f8-edb7-4c9a-9285-09b4f045b019"
      20             : 
      21             : #define NS_IVIEWSOURCECHANNEL_IID \
      22             :   {0x3e9800f8, 0xedb7, 0x4c9a, \
      23             :     { 0x92, 0x85, 0x09, 0xb4, 0xf0, 0x45, 0xb0, 0x19 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIViewSourceChannel : public nsIChannel {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IVIEWSOURCECHANNEL_IID)
      29             : 
      30             :   /* [must_use] attribute ACString originalContentType; */
      31             :   MOZ_MUST_USE NS_IMETHOD GetOriginalContentType(nsACString & aOriginalContentType) = 0;
      32             :   MOZ_MUST_USE NS_IMETHOD SetOriginalContentType(const nsACString & aOriginalContentType) = 0;
      33             : 
      34             :   /* [must_use] readonly attribute boolean isSrcdocChannel; */
      35             :   MOZ_MUST_USE NS_IMETHOD GetIsSrcdocChannel(bool *aIsSrcdocChannel) = 0;
      36             : 
      37             :   /* [must_use] attribute nsIURI baseURI; */
      38             :   MOZ_MUST_USE NS_IMETHOD GetBaseURI(nsIURI * *aBaseURI) = 0;
      39             :   MOZ_MUST_USE NS_IMETHOD SetBaseURI(nsIURI *aBaseURI) = 0;
      40             : 
      41             : };
      42             : 
      43             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIViewSourceChannel, NS_IVIEWSOURCECHANNEL_IID)
      44             : 
      45             : /* Use this macro when declaring classes that implement this interface. */
      46             : #define NS_DECL_NSIVIEWSOURCECHANNEL \
      47             :   MOZ_MUST_USE NS_IMETHOD GetOriginalContentType(nsACString & aOriginalContentType) override; \
      48             :   MOZ_MUST_USE NS_IMETHOD SetOriginalContentType(const nsACString & aOriginalContentType) override; \
      49             :   MOZ_MUST_USE NS_IMETHOD GetIsSrcdocChannel(bool *aIsSrcdocChannel) override; \
      50             :   MOZ_MUST_USE NS_IMETHOD GetBaseURI(nsIURI * *aBaseURI) override; \
      51             :   MOZ_MUST_USE NS_IMETHOD SetBaseURI(nsIURI *aBaseURI) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIVIEWSOURCECHANNEL \
      56             :   MOZ_MUST_USE nsresult GetOriginalContentType(nsACString & aOriginalContentType); \
      57             :   MOZ_MUST_USE nsresult SetOriginalContentType(const nsACString & aOriginalContentType); \
      58             :   MOZ_MUST_USE nsresult GetIsSrcdocChannel(bool *aIsSrcdocChannel); \
      59             :   MOZ_MUST_USE nsresult GetBaseURI(nsIURI * *aBaseURI); \
      60             :   MOZ_MUST_USE nsresult SetBaseURI(nsIURI *aBaseURI); 
      61             : 
      62             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      63             : #define NS_FORWARD_NSIVIEWSOURCECHANNEL(_to) \
      64             :   MOZ_MUST_USE NS_IMETHOD GetOriginalContentType(nsACString & aOriginalContentType) override { return _to GetOriginalContentType(aOriginalContentType); } \
      65             :   MOZ_MUST_USE NS_IMETHOD SetOriginalContentType(const nsACString & aOriginalContentType) override { return _to SetOriginalContentType(aOriginalContentType); } \
      66             :   MOZ_MUST_USE NS_IMETHOD GetIsSrcdocChannel(bool *aIsSrcdocChannel) override { return _to GetIsSrcdocChannel(aIsSrcdocChannel); } \
      67             :   MOZ_MUST_USE NS_IMETHOD GetBaseURI(nsIURI * *aBaseURI) override { return _to GetBaseURI(aBaseURI); } \
      68             :   MOZ_MUST_USE NS_IMETHOD SetBaseURI(nsIURI *aBaseURI) override { return _to SetBaseURI(aBaseURI); } 
      69             : 
      70             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      71             : #define NS_FORWARD_SAFE_NSIVIEWSOURCECHANNEL(_to) \
      72             :   MOZ_MUST_USE NS_IMETHOD GetOriginalContentType(nsACString & aOriginalContentType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginalContentType(aOriginalContentType); } \
      73             :   MOZ_MUST_USE NS_IMETHOD SetOriginalContentType(const nsACString & aOriginalContentType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOriginalContentType(aOriginalContentType); } \
      74             :   MOZ_MUST_USE NS_IMETHOD GetIsSrcdocChannel(bool *aIsSrcdocChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsSrcdocChannel(aIsSrcdocChannel); } \
      75             :   MOZ_MUST_USE NS_IMETHOD GetBaseURI(nsIURI * *aBaseURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseURI(aBaseURI); } \
      76             :   MOZ_MUST_USE NS_IMETHOD SetBaseURI(nsIURI *aBaseURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBaseURI(aBaseURI); } 
      77             : 
      78             : #if 0
      79             : /* Use the code below as a template for the implementation class for this interface. */
      80             : 
      81             : /* Header file */
      82             : class nsViewSourceChannel : public nsIViewSourceChannel
      83             : {
      84             : public:
      85             :   NS_DECL_ISUPPORTS
      86             :   NS_DECL_NSIVIEWSOURCECHANNEL
      87             : 
      88             :   nsViewSourceChannel();
      89             : 
      90             : private:
      91             :   ~nsViewSourceChannel();
      92             : 
      93             : protected:
      94             :   /* additional members */
      95             : };
      96             : 
      97             : /* Implementation file */
      98             : NS_IMPL_ISUPPORTS(nsViewSourceChannel, nsIViewSourceChannel)
      99             : 
     100             : nsViewSourceChannel::nsViewSourceChannel()
     101             : {
     102             :   /* member initializers and constructor code */
     103             : }
     104             : 
     105             : nsViewSourceChannel::~nsViewSourceChannel()
     106             : {
     107             :   /* destructor code */
     108             : }
     109             : 
     110             : /* [must_use] attribute ACString originalContentType; */
     111             : MOZ_MUST_USE NS_IMETHODIMP nsViewSourceChannel::GetOriginalContentType(nsACString & aOriginalContentType)
     112             : {
     113             :     return NS_ERROR_NOT_IMPLEMENTED;
     114             : }
     115             : MOZ_MUST_USE NS_IMETHODIMP nsViewSourceChannel::SetOriginalContentType(const nsACString & aOriginalContentType)
     116             : {
     117             :     return NS_ERROR_NOT_IMPLEMENTED;
     118             : }
     119             : 
     120             : /* [must_use] readonly attribute boolean isSrcdocChannel; */
     121             : MOZ_MUST_USE NS_IMETHODIMP nsViewSourceChannel::GetIsSrcdocChannel(bool *aIsSrcdocChannel)
     122             : {
     123             :     return NS_ERROR_NOT_IMPLEMENTED;
     124             : }
     125             : 
     126             : /* [must_use] attribute nsIURI baseURI; */
     127             : MOZ_MUST_USE NS_IMETHODIMP nsViewSourceChannel::GetBaseURI(nsIURI * *aBaseURI)
     128             : {
     129             :     return NS_ERROR_NOT_IMPLEMENTED;
     130             : }
     131             : MOZ_MUST_USE NS_IMETHODIMP nsViewSourceChannel::SetBaseURI(nsIURI *aBaseURI)
     132             : {
     133             :     return NS_ERROR_NOT_IMPLEMENTED;
     134             : }
     135             : 
     136             : /* End of implementation class template. */
     137             : #endif
     138             : 
     139             : 
     140             : #endif /* __gen_nsIViewSourceChannel_h__ */

Generated by: LCOV version 1.13