LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIContentPolicyBase.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/nsIContentPolicyBase.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIContentPolicyBase_h__
       6             : #define __gen_nsIContentPolicyBase_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             : class nsIURI; /* forward declaration */
      18             : 
      19             : class nsIDOMNode; /* forward declaration */
      20             : 
      21             : class nsIPrincipal; /* forward declaration */
      22             : 
      23             : typedef uint32_t  nsContentPolicyType;
      24             : 
      25             : 
      26             : /* starting interface:    nsIContentPolicyBase */
      27             : #define NS_ICONTENTPOLICYBASE_IID_STR "17418187-d86f-48dd-92d1-238838df0a4e"
      28             : 
      29             : #define NS_ICONTENTPOLICYBASE_IID \
      30             :   {0x17418187, 0xd86f, 0x48dd, \
      31             :     { 0x92, 0xd1, 0x23, 0x88, 0x38, 0xdf, 0x0a, 0x4e }}
      32             : 
      33          19 : class NS_NO_VTABLE nsIContentPolicyBase : public nsISupports {
      34             :  public:
      35             : 
      36             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTENTPOLICYBASE_IID)
      37             : 
      38             :   enum {
      39             :     TYPE_INVALID = 0U,
      40             :     TYPE_OTHER = 1U,
      41             :     TYPE_SCRIPT = 2U,
      42             :     TYPE_IMAGE = 3U,
      43             :     TYPE_STYLESHEET = 4U,
      44             :     TYPE_OBJECT = 5U,
      45             :     TYPE_DOCUMENT = 6U,
      46             :     TYPE_SUBDOCUMENT = 7U,
      47             :     TYPE_REFRESH = 8U,
      48             :     TYPE_XBL = 9U,
      49             :     TYPE_PING = 10U,
      50             :     TYPE_XMLHTTPREQUEST = 11U,
      51             :     TYPE_DATAREQUEST = 11U,
      52             :     TYPE_OBJECT_SUBREQUEST = 12U,
      53             :     TYPE_DTD = 13U,
      54             :     TYPE_FONT = 14U,
      55             :     TYPE_MEDIA = 15U,
      56             :     TYPE_WEBSOCKET = 16U,
      57             :     TYPE_CSP_REPORT = 17U,
      58             :     TYPE_XSLT = 18U,
      59             :     TYPE_BEACON = 19U,
      60             :     TYPE_FETCH = 20U,
      61             :     TYPE_IMAGESET = 21U,
      62             :     TYPE_WEB_MANIFEST = 22U,
      63             :     TYPE_INTERNAL_SCRIPT = 23U,
      64             :     TYPE_INTERNAL_WORKER = 24U,
      65             :     TYPE_INTERNAL_SHARED_WORKER = 25U,
      66             :     TYPE_INTERNAL_EMBED = 26U,
      67             :     TYPE_INTERNAL_OBJECT = 27U,
      68             :     TYPE_INTERNAL_FRAME = 28U,
      69             :     TYPE_INTERNAL_IFRAME = 29U,
      70             :     TYPE_INTERNAL_AUDIO = 30U,
      71             :     TYPE_INTERNAL_VIDEO = 31U,
      72             :     TYPE_INTERNAL_TRACK = 32U,
      73             :     TYPE_INTERNAL_XMLHTTPREQUEST = 33U,
      74             :     TYPE_INTERNAL_EVENTSOURCE = 34U,
      75             :     TYPE_INTERNAL_SERVICE_WORKER = 35U,
      76             :     TYPE_INTERNAL_SCRIPT_PRELOAD = 36U,
      77             :     TYPE_INTERNAL_IMAGE = 37U,
      78             :     TYPE_INTERNAL_IMAGE_PRELOAD = 38U,
      79             :     TYPE_INTERNAL_STYLESHEET = 39U,
      80             :     TYPE_INTERNAL_STYLESHEET_PRELOAD = 40U,
      81             :     TYPE_INTERNAL_IMAGE_FAVICON = 41U,
      82             :     TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS = 42U,
      83             :     REJECT_REQUEST = -1,
      84             :     REJECT_TYPE = -2,
      85             :     REJECT_SERVER = -3,
      86             :     REJECT_OTHER = -4,
      87             :     ACCEPT = 1
      88             :   };
      89             : 
      90             : };
      91             : 
      92             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIContentPolicyBase, NS_ICONTENTPOLICYBASE_IID)
      93             : 
      94             : /* Use this macro when declaring classes that implement this interface. */
      95             : #define NS_DECL_NSICONTENTPOLICYBASE \
      96             : 
      97             : /* Use this macro when declaring the members of this interface when the
      98             :    class doesn't implement the interface. This is useful for forwarding. */
      99             : #define NS_DECL_NON_VIRTUAL_NSICONTENTPOLICYBASE \
     100             : 
     101             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     102             : #define NS_FORWARD_NSICONTENTPOLICYBASE(_to) \
     103             : 
     104             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     105             : #define NS_FORWARD_SAFE_NSICONTENTPOLICYBASE(_to) \
     106             : 
     107             : #if 0
     108             : /* Use the code below as a template for the implementation class for this interface. */
     109             : 
     110             : /* Header file */
     111             : class nsContentPolicyBase : public nsIContentPolicyBase
     112             : {
     113             : public:
     114             :   NS_DECL_ISUPPORTS
     115             :   NS_DECL_NSICONTENTPOLICYBASE
     116             : 
     117             :   nsContentPolicyBase();
     118             : 
     119             : private:
     120             :   ~nsContentPolicyBase();
     121             : 
     122             : protected:
     123             :   /* additional members */
     124             : };
     125             : 
     126             : /* Implementation file */
     127             : NS_IMPL_ISUPPORTS(nsContentPolicyBase, nsIContentPolicyBase)
     128             : 
     129             : nsContentPolicyBase::nsContentPolicyBase()
     130             : {
     131             :   /* member initializers and constructor code */
     132             : }
     133             : 
     134             : nsContentPolicyBase::~nsContentPolicyBase()
     135             : {
     136             :   /* destructor code */
     137             : }
     138             : 
     139             : /* End of implementation class template. */
     140             : #endif
     141             : 
     142             : 
     143             : #endif /* __gen_nsIContentPolicyBase_h__ */

Generated by: LCOV version 1.13