This file is indexed.

/usr/include/thunderbird/nsISystemUpdateProvider.h is in thunderbird-dev 1:52.8.0-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
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsISystemUpdateProvider.idl
 */

#ifndef __gen_nsISystemUpdateProvider_h__
#define __gen_nsISystemUpdateProvider_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.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:    nsISystemUpdateListener */
#define NS_ISYSTEMUPDATELISTENER_IID_STR "775edbf5-b4a9-400c-b0ad-ea3c3a027097"

#define NS_ISYSTEMUPDATELISTENER_IID \
  {0x775edbf5, 0xb4a9, 0x400c, \
    { 0xb0, 0xad, 0xea, 0x3c, 0x3a, 0x02, 0x70, 0x97 }}

class NS_NO_VTABLE nsISystemUpdateListener : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISYSTEMUPDATELISTENER_IID)

  /* void onUpdateAvailable (in DOMString type, in DOMString version, in DOMString description, in unsigned long long buildDate, in unsigned long long size); */
  NS_IMETHOD OnUpdateAvailable(const nsAString & type, const nsAString & version, const nsAString & description, uint64_t buildDate, uint64_t size) = 0;

  /* void onProgress (in unsigned long long loaded, in unsigned long long total); */
  NS_IMETHOD OnProgress(uint64_t loaded, uint64_t total) = 0;

  /* void onUpdateReady (); */
  NS_IMETHOD OnUpdateReady(void) = 0;

  /* void onError (in DOMString errMsg); */
  NS_IMETHOD OnError(const nsAString & errMsg) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISystemUpdateListener, NS_ISYSTEMUPDATELISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISYSTEMUPDATELISTENER \
  NS_IMETHOD OnUpdateAvailable(const nsAString & type, const nsAString & version, const nsAString & description, uint64_t buildDate, uint64_t size) override; \
  NS_IMETHOD OnProgress(uint64_t loaded, uint64_t total) override; \
  NS_IMETHOD OnUpdateReady(void) override; \
  NS_IMETHOD OnError(const nsAString & errMsg) 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_NSISYSTEMUPDATELISTENER \
  NS_METHOD OnUpdateAvailable(const nsAString & type, const nsAString & version, const nsAString & description, uint64_t buildDate, uint64_t size); \
  NS_METHOD OnProgress(uint64_t loaded, uint64_t total); \
  NS_METHOD OnUpdateReady(void); \
  NS_METHOD OnError(const nsAString & errMsg); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISYSTEMUPDATELISTENER(_to) \
  NS_IMETHOD OnUpdateAvailable(const nsAString & type, const nsAString & version, const nsAString & description, uint64_t buildDate, uint64_t size) override { return _to OnUpdateAvailable(type, version, description, buildDate, size); } \
  NS_IMETHOD OnProgress(uint64_t loaded, uint64_t total) override { return _to OnProgress(loaded, total); } \
  NS_IMETHOD OnUpdateReady(void) override { return _to OnUpdateReady(); } \
  NS_IMETHOD OnError(const nsAString & errMsg) override { return _to OnError(errMsg); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISYSTEMUPDATELISTENER(_to) \
  NS_IMETHOD OnUpdateAvailable(const nsAString & type, const nsAString & version, const nsAString & description, uint64_t buildDate, uint64_t size) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnUpdateAvailable(type, version, description, buildDate, size); } \
  NS_IMETHOD OnProgress(uint64_t loaded, uint64_t total) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnProgress(loaded, total); } \
  NS_IMETHOD OnUpdateReady(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnUpdateReady(); } \
  NS_IMETHOD OnError(const nsAString & errMsg) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnError(errMsg); } 

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

/* Header file */
class nsSystemUpdateListener : public nsISystemUpdateListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISYSTEMUPDATELISTENER

  nsSystemUpdateListener();

private:
  ~nsSystemUpdateListener();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsSystemUpdateListener, nsISystemUpdateListener)

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

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

/* void onUpdateAvailable (in DOMString type, in DOMString version, in DOMString description, in unsigned long long buildDate, in unsigned long long size); */
NS_IMETHODIMP nsSystemUpdateListener::OnUpdateAvailable(const nsAString & type, const nsAString & version, const nsAString & description, uint64_t buildDate, uint64_t size)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onProgress (in unsigned long long loaded, in unsigned long long total); */
NS_IMETHODIMP nsSystemUpdateListener::OnProgress(uint64_t loaded, uint64_t total)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onUpdateReady (); */
NS_IMETHODIMP nsSystemUpdateListener::OnUpdateReady()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onError (in DOMString errMsg); */
NS_IMETHODIMP nsSystemUpdateListener::OnError(const nsAString & errMsg)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsISystemUpdateProvider */
#define NS_ISYSTEMUPDATEPROVIDER_IID_STR "c9b7c166-b9cf-4396-a6de-39275e1c0a36"

#define NS_ISYSTEMUPDATEPROVIDER_IID \
  {0xc9b7c166, 0xb9cf, 0x4396, \
    { 0xa6, 0xde, 0x39, 0x27, 0x5e, 0x1c, 0x0a, 0x36 }}

class NS_NO_VTABLE nsISystemUpdateProvider : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISYSTEMUPDATEPROVIDER_IID)

  /* void checkForUpdate (); */
  NS_IMETHOD CheckForUpdate(void) = 0;

  /* void startDownload (); */
  NS_IMETHOD StartDownload(void) = 0;

  /* void stopDownload (); */
  NS_IMETHOD StopDownload(void) = 0;

  /* void applyUpdate (); */
  NS_IMETHOD ApplyUpdate(void) = 0;

  /* bool setParameter (in DOMString name, in DOMString value); */
  NS_IMETHOD SetParameter(const nsAString & name, const nsAString & value, bool *_retval) = 0;

  /* DOMString getParameter (in DOMString name); */
  NS_IMETHOD GetParameter(const nsAString & name, nsAString & _retval) = 0;

  /* void setListener (in nsISystemUpdateListener listener); */
  NS_IMETHOD SetListener(nsISystemUpdateListener *listener) = 0;

  /* void unsetListener (); */
  NS_IMETHOD UnsetListener(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISystemUpdateProvider, NS_ISYSTEMUPDATEPROVIDER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISYSTEMUPDATEPROVIDER \
  NS_IMETHOD CheckForUpdate(void) override; \
  NS_IMETHOD StartDownload(void) override; \
  NS_IMETHOD StopDownload(void) override; \
  NS_IMETHOD ApplyUpdate(void) override; \
  NS_IMETHOD SetParameter(const nsAString & name, const nsAString & value, bool *_retval) override; \
  NS_IMETHOD GetParameter(const nsAString & name, nsAString & _retval) override; \
  NS_IMETHOD SetListener(nsISystemUpdateListener *listener) override; \
  NS_IMETHOD UnsetListener(void) 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_NSISYSTEMUPDATEPROVIDER \
  NS_METHOD CheckForUpdate(void); \
  NS_METHOD StartDownload(void); \
  NS_METHOD StopDownload(void); \
  NS_METHOD ApplyUpdate(void); \
  NS_METHOD SetParameter(const nsAString & name, const nsAString & value, bool *_retval); \
  NS_METHOD GetParameter(const nsAString & name, nsAString & _retval); \
  NS_METHOD SetListener(nsISystemUpdateListener *listener); \
  NS_METHOD UnsetListener(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISYSTEMUPDATEPROVIDER(_to) \
  NS_IMETHOD CheckForUpdate(void) override { return _to CheckForUpdate(); } \
  NS_IMETHOD StartDownload(void) override { return _to StartDownload(); } \
  NS_IMETHOD StopDownload(void) override { return _to StopDownload(); } \
  NS_IMETHOD ApplyUpdate(void) override { return _to ApplyUpdate(); } \
  NS_IMETHOD SetParameter(const nsAString & name, const nsAString & value, bool *_retval) override { return _to SetParameter(name, value, _retval); } \
  NS_IMETHOD GetParameter(const nsAString & name, nsAString & _retval) override { return _to GetParameter(name, _retval); } \
  NS_IMETHOD SetListener(nsISystemUpdateListener *listener) override { return _to SetListener(listener); } \
  NS_IMETHOD UnsetListener(void) override { return _to UnsetListener(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISYSTEMUPDATEPROVIDER(_to) \
  NS_IMETHOD CheckForUpdate(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckForUpdate(); } \
  NS_IMETHOD StartDownload(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartDownload(); } \
  NS_IMETHOD StopDownload(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StopDownload(); } \
  NS_IMETHOD ApplyUpdate(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ApplyUpdate(); } \
  NS_IMETHOD SetParameter(const nsAString & name, const nsAString & value, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParameter(name, value, _retval); } \
  NS_IMETHOD GetParameter(const nsAString & name, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParameter(name, _retval); } \
  NS_IMETHOD SetListener(nsISystemUpdateListener *listener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetListener(listener); } \
  NS_IMETHOD UnsetListener(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UnsetListener(); } 

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

/* Header file */
class nsSystemUpdateProvider : public nsISystemUpdateProvider
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISYSTEMUPDATEPROVIDER

  nsSystemUpdateProvider();

private:
  ~nsSystemUpdateProvider();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsSystemUpdateProvider, nsISystemUpdateProvider)

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

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

/* void checkForUpdate (); */
NS_IMETHODIMP nsSystemUpdateProvider::CheckForUpdate()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void startDownload (); */
NS_IMETHODIMP nsSystemUpdateProvider::StartDownload()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void stopDownload (); */
NS_IMETHODIMP nsSystemUpdateProvider::StopDownload()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void applyUpdate (); */
NS_IMETHODIMP nsSystemUpdateProvider::ApplyUpdate()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* bool setParameter (in DOMString name, in DOMString value); */
NS_IMETHODIMP nsSystemUpdateProvider::SetParameter(const nsAString & name, const nsAString & value, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* DOMString getParameter (in DOMString name); */
NS_IMETHODIMP nsSystemUpdateProvider::GetParameter(const nsAString & name, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setListener (in nsISystemUpdateListener listener); */
NS_IMETHODIMP nsSystemUpdateProvider::SetListener(nsISystemUpdateListener *listener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void unsetListener (); */
NS_IMETHODIMP nsSystemUpdateProvider::UnsetListener()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsISystemUpdateProvider_h__ */