This file is indexed.

/usr/include/firefox-esr-52/nsICookie2.h is in firefox-esr-dev 52.8.1esr-1~deb8u1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsICookie2.idl
 */

#ifndef __gen_nsICookie2_h__
#define __gen_nsICookie2_h__


#ifndef __gen_nsICookie_h__
#include "nsICookie.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsICookie2 */
#define NS_ICOOKIE2_IID_STR "05c420e5-03d0-4c7b-a605-df7ebe5ca326"

#define NS_ICOOKIE2_IID \
  {0x05c420e5, 0x03d0, 0x4c7b, \
    { 0xa6, 0x05, 0xdf, 0x7e, 0xbe, 0x5c, 0xa3, 0x26 }}

class NS_NO_VTABLE nsICookie2 : public nsICookie {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICOOKIE2_IID)

  /* readonly attribute AUTF8String rawHost; */
  NS_IMETHOD GetRawHost(nsACString & aRawHost) = 0;

  /* readonly attribute boolean isSession; */
  NS_IMETHOD GetIsSession(bool *aIsSession) = 0;

  /* readonly attribute int64_t expiry; */
  NS_IMETHOD GetExpiry(int64_t *aExpiry) = 0;

  /* readonly attribute boolean isHttpOnly; */
  NS_IMETHOD GetIsHttpOnly(bool *aIsHttpOnly) = 0;

  /* readonly attribute int64_t creationTime; */
  NS_IMETHOD GetCreationTime(int64_t *aCreationTime) = 0;

  /* readonly attribute int64_t lastAccessed; */
  NS_IMETHOD GetLastAccessed(int64_t *aLastAccessed) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsICookie2, NS_ICOOKIE2_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICOOKIE2 \
  NS_IMETHOD GetRawHost(nsACString & aRawHost) override; \
  NS_IMETHOD GetIsSession(bool *aIsSession) override; \
  NS_IMETHOD GetExpiry(int64_t *aExpiry) override; \
  NS_IMETHOD GetIsHttpOnly(bool *aIsHttpOnly) override; \
  NS_IMETHOD GetCreationTime(int64_t *aCreationTime) override; \
  NS_IMETHOD GetLastAccessed(int64_t *aLastAccessed) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSICOOKIE2 \
  NS_METHOD GetRawHost(nsACString & aRawHost); \
  NS_METHOD GetIsSession(bool *aIsSession); \
  NS_METHOD GetExpiry(int64_t *aExpiry); \
  NS_METHOD GetIsHttpOnly(bool *aIsHttpOnly); \
  NS_METHOD GetCreationTime(int64_t *aCreationTime); \
  NS_METHOD GetLastAccessed(int64_t *aLastAccessed); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICOOKIE2(_to) \
  NS_IMETHOD GetRawHost(nsACString & aRawHost) override { return _to GetRawHost(aRawHost); } \
  NS_IMETHOD GetIsSession(bool *aIsSession) override { return _to GetIsSession(aIsSession); } \
  NS_IMETHOD GetExpiry(int64_t *aExpiry) override { return _to GetExpiry(aExpiry); } \
  NS_IMETHOD GetIsHttpOnly(bool *aIsHttpOnly) override { return _to GetIsHttpOnly(aIsHttpOnly); } \
  NS_IMETHOD GetCreationTime(int64_t *aCreationTime) override { return _to GetCreationTime(aCreationTime); } \
  NS_IMETHOD GetLastAccessed(int64_t *aLastAccessed) override { return _to GetLastAccessed(aLastAccessed); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSICOOKIE2(_to) \
  NS_IMETHOD GetRawHost(nsACString & aRawHost) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRawHost(aRawHost); } \
  NS_IMETHOD GetIsSession(bool *aIsSession) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsSession(aIsSession); } \
  NS_IMETHOD GetExpiry(int64_t *aExpiry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpiry(aExpiry); } \
  NS_IMETHOD GetIsHttpOnly(bool *aIsHttpOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsHttpOnly(aIsHttpOnly); } \
  NS_IMETHOD GetCreationTime(int64_t *aCreationTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCreationTime(aCreationTime); } \
  NS_IMETHOD GetLastAccessed(int64_t *aLastAccessed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastAccessed(aLastAccessed); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsCookie2 : public nsICookie2
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICOOKIE2

  nsCookie2();

private:
  ~nsCookie2();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsCookie2, nsICookie2)

nsCookie2::nsCookie2()
{
  /* member initializers and constructor code */
}

nsCookie2::~nsCookie2()
{
  /* destructor code */
}

/* readonly attribute AUTF8String rawHost; */
NS_IMETHODIMP nsCookie2::GetRawHost(nsACString & aRawHost)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isSession; */
NS_IMETHODIMP nsCookie2::GetIsSession(bool *aIsSession)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute int64_t expiry; */
NS_IMETHODIMP nsCookie2::GetExpiry(int64_t *aExpiry)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isHttpOnly; */
NS_IMETHODIMP nsCookie2::GetIsHttpOnly(bool *aIsHttpOnly)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute int64_t creationTime; */
NS_IMETHODIMP nsCookie2::GetCreationTime(int64_t *aCreationTime)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute int64_t lastAccessed; */
NS_IMETHODIMP nsCookie2::GetLastAccessed(int64_t *aLastAccessed)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsICookie2_h__ */