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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIUrlClassifierInfo.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIUrlClassifierInfo_h__
       6             : #define __gen_nsIUrlClassifierInfo_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIArray_h__
      14             : #include "nsIArray.h"
      15             : #endif
      16             : 
      17             : /* For IDL files that don't want to include root IDL files. */
      18             : #ifndef NS_NO_VTABLE
      19             : #define NS_NO_VTABLE
      20             : #endif
      21             : 
      22             : /* starting interface:    nsIUrlClassifierPositiveCacheEntry */
      23             : #define NS_IURLCLASSIFIERPOSITIVECACHEENTRY_IID_STR "b3c27f8c-7db8-4f3f-97a5-5a94d781e565"
      24             : 
      25             : #define NS_IURLCLASSIFIERPOSITIVECACHEENTRY_IID \
      26             :   {0xb3c27f8c, 0x7db8, 0x4f3f, \
      27             :     { 0x97, 0xa5, 0x5a, 0x94, 0xd7, 0x81, 0xe5, 0x65 }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIUrlClassifierPositiveCacheEntry : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURLCLASSIFIERPOSITIVECACHEENTRY_IID)
      33             : 
      34             :   /* readonly attribute ACString fullhash; */
      35             :   NS_IMETHOD GetFullhash(nsACString & aFullhash) = 0;
      36             : 
      37             :   /* readonly attribute long long expiry; */
      38             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) = 0;
      39             : 
      40             : };
      41             : 
      42             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIUrlClassifierPositiveCacheEntry, NS_IURLCLASSIFIERPOSITIVECACHEENTRY_IID)
      43             : 
      44             : /* Use this macro when declaring classes that implement this interface. */
      45             : #define NS_DECL_NSIURLCLASSIFIERPOSITIVECACHEENTRY \
      46             :   NS_IMETHOD GetFullhash(nsACString & aFullhash) override; \
      47             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) 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_NSIURLCLASSIFIERPOSITIVECACHEENTRY \
      52             :   nsresult GetFullhash(nsACString & aFullhash); \
      53             :   nsresult GetExpiry(int64_t *aExpiry); 
      54             : 
      55             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      56             : #define NS_FORWARD_NSIURLCLASSIFIERPOSITIVECACHEENTRY(_to) \
      57             :   NS_IMETHOD GetFullhash(nsACString & aFullhash) override { return _to GetFullhash(aFullhash); } \
      58             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) override { return _to GetExpiry(aExpiry); } 
      59             : 
      60             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61             : #define NS_FORWARD_SAFE_NSIURLCLASSIFIERPOSITIVECACHEENTRY(_to) \
      62             :   NS_IMETHOD GetFullhash(nsACString & aFullhash) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullhash(aFullhash); } \
      63             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpiry(aExpiry); } 
      64             : 
      65             : #if 0
      66             : /* Use the code below as a template for the implementation class for this interface. */
      67             : 
      68             : /* Header file */
      69             : class nsUrlClassifierPositiveCacheEntry : public nsIUrlClassifierPositiveCacheEntry
      70             : {
      71             : public:
      72             :   NS_DECL_ISUPPORTS
      73             :   NS_DECL_NSIURLCLASSIFIERPOSITIVECACHEENTRY
      74             : 
      75             :   nsUrlClassifierPositiveCacheEntry();
      76             : 
      77             : private:
      78             :   ~nsUrlClassifierPositiveCacheEntry();
      79             : 
      80             : protected:
      81             :   /* additional members */
      82             : };
      83             : 
      84             : /* Implementation file */
      85             : NS_IMPL_ISUPPORTS(nsUrlClassifierPositiveCacheEntry, nsIUrlClassifierPositiveCacheEntry)
      86             : 
      87             : nsUrlClassifierPositiveCacheEntry::nsUrlClassifierPositiveCacheEntry()
      88             : {
      89             :   /* member initializers and constructor code */
      90             : }
      91             : 
      92             : nsUrlClassifierPositiveCacheEntry::~nsUrlClassifierPositiveCacheEntry()
      93             : {
      94             :   /* destructor code */
      95             : }
      96             : 
      97             : /* readonly attribute ACString fullhash; */
      98             : NS_IMETHODIMP nsUrlClassifierPositiveCacheEntry::GetFullhash(nsACString & aFullhash)
      99             : {
     100             :     return NS_ERROR_NOT_IMPLEMENTED;
     101             : }
     102             : 
     103             : /* readonly attribute long long expiry; */
     104             : NS_IMETHODIMP nsUrlClassifierPositiveCacheEntry::GetExpiry(int64_t *aExpiry)
     105             : {
     106             :     return NS_ERROR_NOT_IMPLEMENTED;
     107             : }
     108             : 
     109             : /* End of implementation class template. */
     110             : #endif
     111             : 
     112             : 
     113             : /* starting interface:    nsIUrlClassifierCacheEntry */
     114             : #define NS_IURLCLASSIFIERCACHEENTRY_IID_STR "d6297907-8236-4126-adaf-c3aa239a0d40"
     115             : 
     116             : #define NS_IURLCLASSIFIERCACHEENTRY_IID \
     117             :   {0xd6297907, 0x8236, 0x4126, \
     118             :     { 0xad, 0xaf, 0xc3, 0xaa, 0x23, 0x9a, 0x0d, 0x40 }}
     119             : 
     120           0 : class NS_NO_VTABLE nsIUrlClassifierCacheEntry : public nsISupports {
     121             :  public:
     122             : 
     123             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURLCLASSIFIERCACHEENTRY_IID)
     124             : 
     125             :   /* readonly attribute ACString prefix; */
     126             :   NS_IMETHOD GetPrefix(nsACString & aPrefix) = 0;
     127             : 
     128             :   /* readonly attribute long long expiry; */
     129             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) = 0;
     130             : 
     131             :   /* readonly attribute nsIArray matches; */
     132             :   NS_IMETHOD GetMatches(nsIArray * *aMatches) = 0;
     133             : 
     134             : };
     135             : 
     136             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIUrlClassifierCacheEntry, NS_IURLCLASSIFIERCACHEENTRY_IID)
     137             : 
     138             : /* Use this macro when declaring classes that implement this interface. */
     139             : #define NS_DECL_NSIURLCLASSIFIERCACHEENTRY \
     140             :   NS_IMETHOD GetPrefix(nsACString & aPrefix) override; \
     141             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) override; \
     142             :   NS_IMETHOD GetMatches(nsIArray * *aMatches) override; 
     143             : 
     144             : /* Use this macro when declaring the members of this interface when the
     145             :    class doesn't implement the interface. This is useful for forwarding. */
     146             : #define NS_DECL_NON_VIRTUAL_NSIURLCLASSIFIERCACHEENTRY \
     147             :   nsresult GetPrefix(nsACString & aPrefix); \
     148             :   nsresult GetExpiry(int64_t *aExpiry); \
     149             :   nsresult GetMatches(nsIArray * *aMatches); 
     150             : 
     151             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     152             : #define NS_FORWARD_NSIURLCLASSIFIERCACHEENTRY(_to) \
     153             :   NS_IMETHOD GetPrefix(nsACString & aPrefix) override { return _to GetPrefix(aPrefix); } \
     154             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) override { return _to GetExpiry(aExpiry); } \
     155             :   NS_IMETHOD GetMatches(nsIArray * *aMatches) override { return _to GetMatches(aMatches); } 
     156             : 
     157             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     158             : #define NS_FORWARD_SAFE_NSIURLCLASSIFIERCACHEENTRY(_to) \
     159             :   NS_IMETHOD GetPrefix(nsACString & aPrefix) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrefix(aPrefix); } \
     160             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpiry(aExpiry); } \
     161             :   NS_IMETHOD GetMatches(nsIArray * *aMatches) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMatches(aMatches); } 
     162             : 
     163             : #if 0
     164             : /* Use the code below as a template for the implementation class for this interface. */
     165             : 
     166             : /* Header file */
     167             : class nsUrlClassifierCacheEntry : public nsIUrlClassifierCacheEntry
     168             : {
     169             : public:
     170             :   NS_DECL_ISUPPORTS
     171             :   NS_DECL_NSIURLCLASSIFIERCACHEENTRY
     172             : 
     173             :   nsUrlClassifierCacheEntry();
     174             : 
     175             : private:
     176             :   ~nsUrlClassifierCacheEntry();
     177             : 
     178             : protected:
     179             :   /* additional members */
     180             : };
     181             : 
     182             : /* Implementation file */
     183             : NS_IMPL_ISUPPORTS(nsUrlClassifierCacheEntry, nsIUrlClassifierCacheEntry)
     184             : 
     185             : nsUrlClassifierCacheEntry::nsUrlClassifierCacheEntry()
     186             : {
     187             :   /* member initializers and constructor code */
     188             : }
     189             : 
     190             : nsUrlClassifierCacheEntry::~nsUrlClassifierCacheEntry()
     191             : {
     192             :   /* destructor code */
     193             : }
     194             : 
     195             : /* readonly attribute ACString prefix; */
     196             : NS_IMETHODIMP nsUrlClassifierCacheEntry::GetPrefix(nsACString & aPrefix)
     197             : {
     198             :     return NS_ERROR_NOT_IMPLEMENTED;
     199             : }
     200             : 
     201             : /* readonly attribute long long expiry; */
     202             : NS_IMETHODIMP nsUrlClassifierCacheEntry::GetExpiry(int64_t *aExpiry)
     203             : {
     204             :     return NS_ERROR_NOT_IMPLEMENTED;
     205             : }
     206             : 
     207             : /* readonly attribute nsIArray matches; */
     208             : NS_IMETHODIMP nsUrlClassifierCacheEntry::GetMatches(nsIArray * *aMatches)
     209             : {
     210             :     return NS_ERROR_NOT_IMPLEMENTED;
     211             : }
     212             : 
     213             : /* End of implementation class template. */
     214             : #endif
     215             : 
     216             : 
     217             : /* starting interface:    nsIUrlClassifierCacheInfo */
     218             : #define NS_IURLCLASSIFIERCACHEINFO_IID_STR "69384f24-d9c5-4462-b24e-351c69e3b46a"
     219             : 
     220             : #define NS_IURLCLASSIFIERCACHEINFO_IID \
     221             :   {0x69384f24, 0xd9c5, 0x4462, \
     222             :     { 0xb2, 0x4e, 0x35, 0x1c, 0x69, 0xe3, 0xb4, 0x6a }}
     223             : 
     224           0 : class NS_NO_VTABLE nsIUrlClassifierCacheInfo : public nsISupports {
     225             :  public:
     226             : 
     227             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURLCLASSIFIERCACHEINFO_IID)
     228             : 
     229             :   /* readonly attribute ACString table; */
     230             :   NS_IMETHOD GetTable(nsACString & aTable) = 0;
     231             : 
     232             :   /* readonly attribute nsIArray entries; */
     233             :   NS_IMETHOD GetEntries(nsIArray * *aEntries) = 0;
     234             : 
     235             : };
     236             : 
     237             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIUrlClassifierCacheInfo, NS_IURLCLASSIFIERCACHEINFO_IID)
     238             : 
     239             : /* Use this macro when declaring classes that implement this interface. */
     240             : #define NS_DECL_NSIURLCLASSIFIERCACHEINFO \
     241             :   NS_IMETHOD GetTable(nsACString & aTable) override; \
     242             :   NS_IMETHOD GetEntries(nsIArray * *aEntries) override; 
     243             : 
     244             : /* Use this macro when declaring the members of this interface when the
     245             :    class doesn't implement the interface. This is useful for forwarding. */
     246             : #define NS_DECL_NON_VIRTUAL_NSIURLCLASSIFIERCACHEINFO \
     247             :   nsresult GetTable(nsACString & aTable); \
     248             :   nsresult GetEntries(nsIArray * *aEntries); 
     249             : 
     250             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     251             : #define NS_FORWARD_NSIURLCLASSIFIERCACHEINFO(_to) \
     252             :   NS_IMETHOD GetTable(nsACString & aTable) override { return _to GetTable(aTable); } \
     253             :   NS_IMETHOD GetEntries(nsIArray * *aEntries) override { return _to GetEntries(aEntries); } 
     254             : 
     255             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     256             : #define NS_FORWARD_SAFE_NSIURLCLASSIFIERCACHEINFO(_to) \
     257             :   NS_IMETHOD GetTable(nsACString & aTable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTable(aTable); } \
     258             :   NS_IMETHOD GetEntries(nsIArray * *aEntries) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEntries(aEntries); } 
     259             : 
     260             : #if 0
     261             : /* Use the code below as a template for the implementation class for this interface. */
     262             : 
     263             : /* Header file */
     264             : class nsUrlClassifierCacheInfo : public nsIUrlClassifierCacheInfo
     265             : {
     266             : public:
     267             :   NS_DECL_ISUPPORTS
     268             :   NS_DECL_NSIURLCLASSIFIERCACHEINFO
     269             : 
     270             :   nsUrlClassifierCacheInfo();
     271             : 
     272             : private:
     273             :   ~nsUrlClassifierCacheInfo();
     274             : 
     275             : protected:
     276             :   /* additional members */
     277             : };
     278             : 
     279             : /* Implementation file */
     280             : NS_IMPL_ISUPPORTS(nsUrlClassifierCacheInfo, nsIUrlClassifierCacheInfo)
     281             : 
     282             : nsUrlClassifierCacheInfo::nsUrlClassifierCacheInfo()
     283             : {
     284             :   /* member initializers and constructor code */
     285             : }
     286             : 
     287             : nsUrlClassifierCacheInfo::~nsUrlClassifierCacheInfo()
     288             : {
     289             :   /* destructor code */
     290             : }
     291             : 
     292             : /* readonly attribute ACString table; */
     293             : NS_IMETHODIMP nsUrlClassifierCacheInfo::GetTable(nsACString & aTable)
     294             : {
     295             :     return NS_ERROR_NOT_IMPLEMENTED;
     296             : }
     297             : 
     298             : /* readonly attribute nsIArray entries; */
     299             : NS_IMETHODIMP nsUrlClassifierCacheInfo::GetEntries(nsIArray * *aEntries)
     300             : {
     301             :     return NS_ERROR_NOT_IMPLEMENTED;
     302             : }
     303             : 
     304             : /* End of implementation class template. */
     305             : #endif
     306             : 
     307             : 
     308             : /* starting interface:    nsIUrlClassifierInfo */
     309             : #define NS_IURLCLASSIFIERINFO_IID_STR "411bbff4-1b88-4687-aa36-e2bbdd93f6e8"
     310             : 
     311             : #define NS_IURLCLASSIFIERINFO_IID \
     312             :   {0x411bbff4, 0x1b88, 0x4687, \
     313             :     { 0xaa, 0x36, 0xe2, 0xbb, 0xdd, 0x93, 0xf6, 0xe8 }}
     314             : 
     315           1 : class NS_NO_VTABLE nsIUrlClassifierInfo : public nsISupports {
     316             :  public:
     317             : 
     318             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURLCLASSIFIERINFO_IID)
     319             : 
     320             :   /* nsIUrlClassifierCacheInfo getCacheInfo (in ACString table); */
     321             :   NS_IMETHOD GetCacheInfo(const nsACString & table, nsIUrlClassifierCacheInfo * *_retval) = 0;
     322             : 
     323             : };
     324             : 
     325             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIUrlClassifierInfo, NS_IURLCLASSIFIERINFO_IID)
     326             : 
     327             : /* Use this macro when declaring classes that implement this interface. */
     328             : #define NS_DECL_NSIURLCLASSIFIERINFO \
     329             :   NS_IMETHOD GetCacheInfo(const nsACString & table, nsIUrlClassifierCacheInfo * *_retval) override; 
     330             : 
     331             : /* Use this macro when declaring the members of this interface when the
     332             :    class doesn't implement the interface. This is useful for forwarding. */
     333             : #define NS_DECL_NON_VIRTUAL_NSIURLCLASSIFIERINFO \
     334             :   nsresult GetCacheInfo(const nsACString & table, nsIUrlClassifierCacheInfo * *_retval); 
     335             : 
     336             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     337             : #define NS_FORWARD_NSIURLCLASSIFIERINFO(_to) \
     338             :   NS_IMETHOD GetCacheInfo(const nsACString & table, nsIUrlClassifierCacheInfo * *_retval) override { return _to GetCacheInfo(table, _retval); } 
     339             : 
     340             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     341             : #define NS_FORWARD_SAFE_NSIURLCLASSIFIERINFO(_to) \
     342             :   NS_IMETHOD GetCacheInfo(const nsACString & table, nsIUrlClassifierCacheInfo * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCacheInfo(table, _retval); } 
     343             : 
     344             : #if 0
     345             : /* Use the code below as a template for the implementation class for this interface. */
     346             : 
     347             : /* Header file */
     348             : class nsUrlClassifierInfo : public nsIUrlClassifierInfo
     349             : {
     350             : public:
     351             :   NS_DECL_ISUPPORTS
     352             :   NS_DECL_NSIURLCLASSIFIERINFO
     353             : 
     354             :   nsUrlClassifierInfo();
     355             : 
     356             : private:
     357             :   ~nsUrlClassifierInfo();
     358             : 
     359             : protected:
     360             :   /* additional members */
     361             : };
     362             : 
     363             : /* Implementation file */
     364             : NS_IMPL_ISUPPORTS(nsUrlClassifierInfo, nsIUrlClassifierInfo)
     365             : 
     366             : nsUrlClassifierInfo::nsUrlClassifierInfo()
     367             : {
     368             :   /* member initializers and constructor code */
     369             : }
     370             : 
     371             : nsUrlClassifierInfo::~nsUrlClassifierInfo()
     372             : {
     373             :   /* destructor code */
     374             : }
     375             : 
     376             : /* nsIUrlClassifierCacheInfo getCacheInfo (in ACString table); */
     377             : NS_IMETHODIMP nsUrlClassifierInfo::GetCacheInfo(const nsACString & table, nsIUrlClassifierCacheInfo * *_retval)
     378             : {
     379             :     return NS_ERROR_NOT_IMPLEMENTED;
     380             : }
     381             : 
     382             : /* End of implementation class template. */
     383             : #endif
     384             : 
     385             : 
     386             : #endif /* __gen_nsIUrlClassifierInfo_h__ */

Generated by: LCOV version 1.13