This file is indexed.

/usr/include/thunderbird/nsIDOMFileHandle.h is in thunderbird-dev 1:24.4.0+build1-0ubuntu1.

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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/mozilla/dom/file/nsIDOMFileHandle.idl
 */

#ifndef __gen_nsIDOMFileHandle_h__
#define __gen_nsIDOMFileHandle_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "jspubtd.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
namespace mozilla {
namespace dom {
namespace indexedDB {
class FileInfo;
}
}
}
class nsIDOMDOMRequest; /* forward declaration */

class nsIDOMEventListener; /* forward declaration */

class nsIDOMLockedFile; /* forward declaration */


/* starting interface:    nsIDOMFileHandle */
#define NS_IDOMFILEHANDLE_IID_STR "47438729-7f3f-4a66-b6d4-d1297c593d46"

#define NS_IDOMFILEHANDLE_IID \
  {0x47438729, 0x7f3f, 0x4a66, \
    { 0xb6, 0xd4, 0xd1, 0x29, 0x7c, 0x59, 0x3d, 0x46 }}

class NS_NO_VTABLE nsIDOMFileHandle : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMFILEHANDLE_IID)

  /* [binaryname(DOMName)] readonly attribute DOMString name; */
  NS_IMETHOD GetDOMName(nsAString & aName) = 0;

  /* [binaryname(DOMType)] readonly attribute DOMString type; */
  NS_IMETHOD GetDOMType(nsAString & aType) = 0;

  /* [optional_argc] nsIDOMLockedFile open ([optional] in DOMString mode); */
  NS_IMETHOD Open(const nsAString & mode, uint8_t _argc, nsIDOMLockedFile * *_retval) = 0;

  /* nsIDOMDOMRequest getFile (); */
  NS_IMETHOD GetFile(nsIDOMDOMRequest * *_retval) = 0;

  /* [notxpcom] long long getFileId (); */
  NS_IMETHOD_(int64_t) GetFileId(void) = 0;

  /* [notxpcom] FileInfo getFileInfo (); */
  NS_IMETHOD_(mozilla::dom::indexedDB::FileInfo *) GetFileInfo(void) = 0;

  /* [implicit_jscontext] attribute jsval onabort; */
  NS_IMETHOD GetOnabort(JSContext* cx, JS::Value *aOnabort) = 0;
  NS_IMETHOD SetOnabort(JSContext* cx, const JS::Value & aOnabort) = 0;

  /* [implicit_jscontext] attribute jsval onerror; */
  NS_IMETHOD GetOnerror(JSContext* cx, JS::Value *aOnerror) = 0;
  NS_IMETHOD SetOnerror(JSContext* cx, const JS::Value & aOnerror) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMFileHandle, NS_IDOMFILEHANDLE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMFILEHANDLE \
  NS_IMETHOD GetDOMName(nsAString & aName); \
  NS_IMETHOD GetDOMType(nsAString & aType); \
  NS_IMETHOD Open(const nsAString & mode, uint8_t _argc, nsIDOMLockedFile * *_retval); \
  NS_IMETHOD GetFile(nsIDOMDOMRequest * *_retval); \
  NS_IMETHOD_(int64_t) GetFileId(void); \
  NS_IMETHOD_(mozilla::dom::indexedDB::FileInfo *) GetFileInfo(void); \
  NS_IMETHOD GetOnabort(JSContext* cx, JS::Value *aOnabort); \
  NS_IMETHOD SetOnabort(JSContext* cx, const JS::Value & aOnabort); \
  NS_IMETHOD GetOnerror(JSContext* cx, JS::Value *aOnerror); \
  NS_IMETHOD SetOnerror(JSContext* cx, const JS::Value & aOnerror); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMFILEHANDLE(_to) \
  NS_IMETHOD GetDOMName(nsAString & aName) { return _to GetDOMName(aName); } \
  NS_IMETHOD GetDOMType(nsAString & aType) { return _to GetDOMType(aType); } \
  NS_IMETHOD Open(const nsAString & mode, uint8_t _argc, nsIDOMLockedFile * *_retval) { return _to Open(mode, _argc, _retval); } \
  NS_IMETHOD GetFile(nsIDOMDOMRequest * *_retval) { return _to GetFile(_retval); } \
  NS_IMETHOD_(int64_t) GetFileId(void) { return _to GetFileId(); } \
  NS_IMETHOD_(mozilla::dom::indexedDB::FileInfo *) GetFileInfo(void) { return _to GetFileInfo(); } \
  NS_IMETHOD GetOnabort(JSContext* cx, JS::Value *aOnabort) { return _to GetOnabort(cx, aOnabort); } \
  NS_IMETHOD SetOnabort(JSContext* cx, const JS::Value & aOnabort) { return _to SetOnabort(cx, aOnabort); } \
  NS_IMETHOD GetOnerror(JSContext* cx, JS::Value *aOnerror) { return _to GetOnerror(cx, aOnerror); } \
  NS_IMETHOD SetOnerror(JSContext* cx, const JS::Value & aOnerror) { return _to SetOnerror(cx, aOnerror); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMFILEHANDLE(_to) \
  NS_IMETHOD GetDOMName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDOMName(aName); } \
  NS_IMETHOD GetDOMType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDOMType(aType); } \
  NS_IMETHOD Open(const nsAString & mode, uint8_t _argc, nsIDOMLockedFile * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(mode, _argc, _retval); } \
  NS_IMETHOD GetFile(nsIDOMDOMRequest * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFile(_retval); } \
  NS_IMETHOD_(int64_t) GetFileId(void); \
  NS_IMETHOD_(mozilla::dom::indexedDB::FileInfo *) GetFileInfo(void); \
  NS_IMETHOD GetOnabort(JSContext* cx, JS::Value *aOnabort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnabort(cx, aOnabort); } \
  NS_IMETHOD SetOnabort(JSContext* cx, const JS::Value & aOnabort) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnabort(cx, aOnabort); } \
  NS_IMETHOD GetOnerror(JSContext* cx, JS::Value *aOnerror) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnerror(cx, aOnerror); } \
  NS_IMETHOD SetOnerror(JSContext* cx, const JS::Value & aOnerror) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnerror(cx, aOnerror); } 

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

/* Header file */
class nsDOMFileHandle : public nsIDOMFileHandle
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMFILEHANDLE

  nsDOMFileHandle();

private:
  ~nsDOMFileHandle();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMFileHandle, nsIDOMFileHandle)

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

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

/* [binaryname(DOMName)] readonly attribute DOMString name; */
NS_IMETHODIMP nsDOMFileHandle::GetDOMName(nsAString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [binaryname(DOMType)] readonly attribute DOMString type; */
NS_IMETHODIMP nsDOMFileHandle::GetDOMType(nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [optional_argc] nsIDOMLockedFile open ([optional] in DOMString mode); */
NS_IMETHODIMP nsDOMFileHandle::Open(const nsAString & mode, uint8_t _argc, nsIDOMLockedFile * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMDOMRequest getFile (); */
NS_IMETHODIMP nsDOMFileHandle::GetFile(nsIDOMDOMRequest * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [notxpcom] long long getFileId (); */
NS_IMETHODIMP_(int64_t) nsDOMFileHandle::GetFileId()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [notxpcom] FileInfo getFileInfo (); */
NS_IMETHODIMP_(mozilla::dom::indexedDB::FileInfo *) nsDOMFileHandle::GetFileInfo()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [implicit_jscontext] attribute jsval onabort; */
NS_IMETHODIMP nsDOMFileHandle::GetOnabort(JSContext* cx, JS::Value *aOnabort)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMFileHandle::SetOnabort(JSContext* cx, const JS::Value & aOnabort)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [implicit_jscontext] attribute jsval onerror; */
NS_IMETHODIMP nsDOMFileHandle::GetOnerror(JSContext* cx, JS::Value *aOnerror)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMFileHandle::SetOnerror(JSContext* cx, const JS::Value & aOnerror)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMFileHandle_h__ */