LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsICookie2.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/nsICookie2.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsICookie2_h__
       6             : #define __gen_nsICookie2_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsICookie_h__
      10             : #include "nsICookie.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:    nsICookie2 */
      19             : #define NS_ICOOKIE2_IID_STR "05c420e5-03d0-4c7b-a605-df7ebe5ca326"
      20             : 
      21             : #define NS_ICOOKIE2_IID \
      22             :   {0x05c420e5, 0x03d0, 0x4c7b, \
      23             :     { 0xa6, 0x05, 0xdf, 0x7e, 0xbe, 0x5c, 0xa3, 0x26 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsICookie2 : public nsICookie {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICOOKIE2_IID)
      29             : 
      30             :   /* readonly attribute AUTF8String rawHost; */
      31             :   NS_IMETHOD GetRawHost(nsACString & aRawHost) = 0;
      32             : 
      33             :   /* readonly attribute boolean isSession; */
      34             :   NS_IMETHOD GetIsSession(bool *aIsSession) = 0;
      35             : 
      36             :   /* readonly attribute int64_t expiry; */
      37             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) = 0;
      38             : 
      39             :   /* readonly attribute boolean isHttpOnly; */
      40             :   NS_IMETHOD GetIsHttpOnly(bool *aIsHttpOnly) = 0;
      41             : 
      42             :   /* readonly attribute int64_t creationTime; */
      43             :   NS_IMETHOD GetCreationTime(int64_t *aCreationTime) = 0;
      44             : 
      45             :   /* readonly attribute int64_t lastAccessed; */
      46             :   NS_IMETHOD GetLastAccessed(int64_t *aLastAccessed) = 0;
      47             : 
      48             : };
      49             : 
      50             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsICookie2, NS_ICOOKIE2_IID)
      51             : 
      52             : /* Use this macro when declaring classes that implement this interface. */
      53             : #define NS_DECL_NSICOOKIE2 \
      54             :   NS_IMETHOD GetRawHost(nsACString & aRawHost) override; \
      55             :   NS_IMETHOD GetIsSession(bool *aIsSession) override; \
      56             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) override; \
      57             :   NS_IMETHOD GetIsHttpOnly(bool *aIsHttpOnly) override; \
      58             :   NS_IMETHOD GetCreationTime(int64_t *aCreationTime) override; \
      59             :   NS_IMETHOD GetLastAccessed(int64_t *aLastAccessed) override; 
      60             : 
      61             : /* Use this macro when declaring the members of this interface when the
      62             :    class doesn't implement the interface. This is useful for forwarding. */
      63             : #define NS_DECL_NON_VIRTUAL_NSICOOKIE2 \
      64             :   nsresult GetRawHost(nsACString & aRawHost); \
      65             :   nsresult GetIsSession(bool *aIsSession); \
      66             :   nsresult GetExpiry(int64_t *aExpiry); \
      67             :   nsresult GetIsHttpOnly(bool *aIsHttpOnly); \
      68             :   nsresult GetCreationTime(int64_t *aCreationTime); \
      69             :   nsresult GetLastAccessed(int64_t *aLastAccessed); 
      70             : 
      71             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72             : #define NS_FORWARD_NSICOOKIE2(_to) \
      73             :   NS_IMETHOD GetRawHost(nsACString & aRawHost) override { return _to GetRawHost(aRawHost); } \
      74             :   NS_IMETHOD GetIsSession(bool *aIsSession) override { return _to GetIsSession(aIsSession); } \
      75             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) override { return _to GetExpiry(aExpiry); } \
      76             :   NS_IMETHOD GetIsHttpOnly(bool *aIsHttpOnly) override { return _to GetIsHttpOnly(aIsHttpOnly); } \
      77             :   NS_IMETHOD GetCreationTime(int64_t *aCreationTime) override { return _to GetCreationTime(aCreationTime); } \
      78             :   NS_IMETHOD GetLastAccessed(int64_t *aLastAccessed) override { return _to GetLastAccessed(aLastAccessed); } 
      79             : 
      80             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      81             : #define NS_FORWARD_SAFE_NSICOOKIE2(_to) \
      82             :   NS_IMETHOD GetRawHost(nsACString & aRawHost) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRawHost(aRawHost); } \
      83             :   NS_IMETHOD GetIsSession(bool *aIsSession) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsSession(aIsSession); } \
      84             :   NS_IMETHOD GetExpiry(int64_t *aExpiry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpiry(aExpiry); } \
      85             :   NS_IMETHOD GetIsHttpOnly(bool *aIsHttpOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsHttpOnly(aIsHttpOnly); } \
      86             :   NS_IMETHOD GetCreationTime(int64_t *aCreationTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCreationTime(aCreationTime); } \
      87             :   NS_IMETHOD GetLastAccessed(int64_t *aLastAccessed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastAccessed(aLastAccessed); } 
      88             : 
      89             : #if 0
      90             : /* Use the code below as a template for the implementation class for this interface. */
      91             : 
      92             : /* Header file */
      93             : class nsCookie2 : public nsICookie2
      94             : {
      95             : public:
      96             :   NS_DECL_ISUPPORTS
      97             :   NS_DECL_NSICOOKIE2
      98             : 
      99             :   nsCookie2();
     100             : 
     101             : private:
     102             :   ~nsCookie2();
     103             : 
     104             : protected:
     105             :   /* additional members */
     106             : };
     107             : 
     108             : /* Implementation file */
     109             : NS_IMPL_ISUPPORTS(nsCookie2, nsICookie2)
     110             : 
     111             : nsCookie2::nsCookie2()
     112             : {
     113             :   /* member initializers and constructor code */
     114             : }
     115             : 
     116             : nsCookie2::~nsCookie2()
     117             : {
     118             :   /* destructor code */
     119             : }
     120             : 
     121             : /* readonly attribute AUTF8String rawHost; */
     122             : NS_IMETHODIMP nsCookie2::GetRawHost(nsACString & aRawHost)
     123             : {
     124             :     return NS_ERROR_NOT_IMPLEMENTED;
     125             : }
     126             : 
     127             : /* readonly attribute boolean isSession; */
     128             : NS_IMETHODIMP nsCookie2::GetIsSession(bool *aIsSession)
     129             : {
     130             :     return NS_ERROR_NOT_IMPLEMENTED;
     131             : }
     132             : 
     133             : /* readonly attribute int64_t expiry; */
     134             : NS_IMETHODIMP nsCookie2::GetExpiry(int64_t *aExpiry)
     135             : {
     136             :     return NS_ERROR_NOT_IMPLEMENTED;
     137             : }
     138             : 
     139             : /* readonly attribute boolean isHttpOnly; */
     140             : NS_IMETHODIMP nsCookie2::GetIsHttpOnly(bool *aIsHttpOnly)
     141             : {
     142             :     return NS_ERROR_NOT_IMPLEMENTED;
     143             : }
     144             : 
     145             : /* readonly attribute int64_t creationTime; */
     146             : NS_IMETHODIMP nsCookie2::GetCreationTime(int64_t *aCreationTime)
     147             : {
     148             :     return NS_ERROR_NOT_IMPLEMENTED;
     149             : }
     150             : 
     151             : /* readonly attribute int64_t lastAccessed; */
     152             : NS_IMETHODIMP nsCookie2::GetLastAccessed(int64_t *aLastAccessed)
     153             : {
     154             :     return NS_ERROR_NOT_IMPLEMENTED;
     155             : }
     156             : 
     157             : /* End of implementation class template. */
     158             : #endif
     159             : 
     160             : 
     161             : #endif /* __gen_nsICookie2_h__ */

Generated by: LCOV version 1.13