LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIAssociatedContentSecurity.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/nsIAssociatedContentSecurity.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIAssociatedContentSecurity_h__
       6             : #define __gen_nsIAssociatedContentSecurity_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             : 
      18             : /* starting interface:    nsIAssociatedContentSecurity */
      19             : #define NS_IASSOCIATEDCONTENTSECURITY_IID_STR "a8285dae-f125-454f-9d1b-089e3f01b2c4"
      20             : 
      21             : #define NS_IASSOCIATEDCONTENTSECURITY_IID \
      22             :   {0xa8285dae, 0xf125, 0x454f, \
      23             :     { 0x9d, 0x1b, 0x08, 0x9e, 0x3f, 0x01, 0xb2, 0xc4 }}
      24             : 
      25           3 : class NS_NO_VTABLE nsIAssociatedContentSecurity : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IASSOCIATEDCONTENTSECURITY_IID)
      29             : 
      30             :   /* attribute long countSubRequestsBrokenSecurity; */
      31             :   NS_IMETHOD GetCountSubRequestsBrokenSecurity(int32_t *aCountSubRequestsBrokenSecurity) = 0;
      32             :   NS_IMETHOD SetCountSubRequestsBrokenSecurity(int32_t aCountSubRequestsBrokenSecurity) = 0;
      33             : 
      34             :   /* attribute long countSubRequestsNoSecurity; */
      35             :   NS_IMETHOD GetCountSubRequestsNoSecurity(int32_t *aCountSubRequestsNoSecurity) = 0;
      36             :   NS_IMETHOD SetCountSubRequestsNoSecurity(int32_t aCountSubRequestsNoSecurity) = 0;
      37             : 
      38             :   /* void flush (); */
      39             :   NS_IMETHOD Flush(void) = 0;
      40             : 
      41             : };
      42             : 
      43             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAssociatedContentSecurity, NS_IASSOCIATEDCONTENTSECURITY_IID)
      44             : 
      45             : /* Use this macro when declaring classes that implement this interface. */
      46             : #define NS_DECL_NSIASSOCIATEDCONTENTSECURITY \
      47             :   NS_IMETHOD GetCountSubRequestsBrokenSecurity(int32_t *aCountSubRequestsBrokenSecurity) override; \
      48             :   NS_IMETHOD SetCountSubRequestsBrokenSecurity(int32_t aCountSubRequestsBrokenSecurity) override; \
      49             :   NS_IMETHOD GetCountSubRequestsNoSecurity(int32_t *aCountSubRequestsNoSecurity) override; \
      50             :   NS_IMETHOD SetCountSubRequestsNoSecurity(int32_t aCountSubRequestsNoSecurity) override; \
      51             :   NS_IMETHOD Flush(void) 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_NSIASSOCIATEDCONTENTSECURITY \
      56             :   nsresult GetCountSubRequestsBrokenSecurity(int32_t *aCountSubRequestsBrokenSecurity); \
      57             :   nsresult SetCountSubRequestsBrokenSecurity(int32_t aCountSubRequestsBrokenSecurity); \
      58             :   nsresult GetCountSubRequestsNoSecurity(int32_t *aCountSubRequestsNoSecurity); \
      59             :   nsresult SetCountSubRequestsNoSecurity(int32_t aCountSubRequestsNoSecurity); \
      60             :   nsresult Flush(void); 
      61             : 
      62             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      63             : #define NS_FORWARD_NSIASSOCIATEDCONTENTSECURITY(_to) \
      64             :   NS_IMETHOD GetCountSubRequestsBrokenSecurity(int32_t *aCountSubRequestsBrokenSecurity) override { return _to GetCountSubRequestsBrokenSecurity(aCountSubRequestsBrokenSecurity); } \
      65             :   NS_IMETHOD SetCountSubRequestsBrokenSecurity(int32_t aCountSubRequestsBrokenSecurity) override { return _to SetCountSubRequestsBrokenSecurity(aCountSubRequestsBrokenSecurity); } \
      66             :   NS_IMETHOD GetCountSubRequestsNoSecurity(int32_t *aCountSubRequestsNoSecurity) override { return _to GetCountSubRequestsNoSecurity(aCountSubRequestsNoSecurity); } \
      67             :   NS_IMETHOD SetCountSubRequestsNoSecurity(int32_t aCountSubRequestsNoSecurity) override { return _to SetCountSubRequestsNoSecurity(aCountSubRequestsNoSecurity); } \
      68             :   NS_IMETHOD Flush(void) override { return _to Flush(); } 
      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_NSIASSOCIATEDCONTENTSECURITY(_to) \
      72             :   NS_IMETHOD GetCountSubRequestsBrokenSecurity(int32_t *aCountSubRequestsBrokenSecurity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCountSubRequestsBrokenSecurity(aCountSubRequestsBrokenSecurity); } \
      73             :   NS_IMETHOD SetCountSubRequestsBrokenSecurity(int32_t aCountSubRequestsBrokenSecurity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCountSubRequestsBrokenSecurity(aCountSubRequestsBrokenSecurity); } \
      74             :   NS_IMETHOD GetCountSubRequestsNoSecurity(int32_t *aCountSubRequestsNoSecurity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCountSubRequestsNoSecurity(aCountSubRequestsNoSecurity); } \
      75             :   NS_IMETHOD SetCountSubRequestsNoSecurity(int32_t aCountSubRequestsNoSecurity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCountSubRequestsNoSecurity(aCountSubRequestsNoSecurity); } \
      76             :   NS_IMETHOD Flush(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Flush(); } 
      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 nsAssociatedContentSecurity : public nsIAssociatedContentSecurity
      83             : {
      84             : public:
      85             :   NS_DECL_ISUPPORTS
      86             :   NS_DECL_NSIASSOCIATEDCONTENTSECURITY
      87             : 
      88             :   nsAssociatedContentSecurity();
      89             : 
      90             : private:
      91             :   ~nsAssociatedContentSecurity();
      92             : 
      93             : protected:
      94             :   /* additional members */
      95             : };
      96             : 
      97             : /* Implementation file */
      98             : NS_IMPL_ISUPPORTS(nsAssociatedContentSecurity, nsIAssociatedContentSecurity)
      99             : 
     100             : nsAssociatedContentSecurity::nsAssociatedContentSecurity()
     101             : {
     102             :   /* member initializers and constructor code */
     103             : }
     104             : 
     105             : nsAssociatedContentSecurity::~nsAssociatedContentSecurity()
     106             : {
     107             :   /* destructor code */
     108             : }
     109             : 
     110             : /* attribute long countSubRequestsBrokenSecurity; */
     111             : NS_IMETHODIMP nsAssociatedContentSecurity::GetCountSubRequestsBrokenSecurity(int32_t *aCountSubRequestsBrokenSecurity)
     112             : {
     113             :     return NS_ERROR_NOT_IMPLEMENTED;
     114             : }
     115             : NS_IMETHODIMP nsAssociatedContentSecurity::SetCountSubRequestsBrokenSecurity(int32_t aCountSubRequestsBrokenSecurity)
     116             : {
     117             :     return NS_ERROR_NOT_IMPLEMENTED;
     118             : }
     119             : 
     120             : /* attribute long countSubRequestsNoSecurity; */
     121             : NS_IMETHODIMP nsAssociatedContentSecurity::GetCountSubRequestsNoSecurity(int32_t *aCountSubRequestsNoSecurity)
     122             : {
     123             :     return NS_ERROR_NOT_IMPLEMENTED;
     124             : }
     125             : NS_IMETHODIMP nsAssociatedContentSecurity::SetCountSubRequestsNoSecurity(int32_t aCountSubRequestsNoSecurity)
     126             : {
     127             :     return NS_ERROR_NOT_IMPLEMENTED;
     128             : }
     129             : 
     130             : /* void flush (); */
     131             : NS_IMETHODIMP nsAssociatedContentSecurity::Flush()
     132             : {
     133             :     return NS_ERROR_NOT_IMPLEMENTED;
     134             : }
     135             : 
     136             : /* End of implementation class template. */
     137             : #endif
     138             : 
     139             : 
     140             : #endif /* __gen_nsIAssociatedContentSecurity_h__ */

Generated by: LCOV version 1.13