This file is indexed.

/usr/include/thunderbird/nsIHangReport.h is in thunderbird-dev 1:38.6.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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIHangReport.idl
 */

#ifndef __gen_nsIHangReport_h__
#define __gen_nsIHangReport_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
class nsIDOMElement; /* forward declaration */

class nsIFrameLoader; /* forward declaration */


/* starting interface:    nsIHangReport */
#define NS_IHANGREPORT_IID_STR "3b88d100-8d5b-11e4-b4a9-0800200c9a66"

#define NS_IHANGREPORT_IID \
  {0x3b88d100, 0x8d5b, 0x11e4, \
    { 0xb4, 0xa9, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}

class NS_NO_VTABLE nsIHangReport : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHANGREPORT_IID)

  enum {
    SLOW_SCRIPT = 1U,
    PLUGIN_HANG = 2U
  };

  /* readonly attribute unsigned long hangType; */
  NS_IMETHOD GetHangType(uint32_t *aHangType) = 0;

  /* readonly attribute nsIDOMElement scriptBrowser; */
  NS_IMETHOD GetScriptBrowser(nsIDOMElement * *aScriptBrowser) = 0;

  /* readonly attribute ACString scriptFileName; */
  NS_IMETHOD GetScriptFileName(nsACString & aScriptFileName) = 0;

  /* readonly attribute unsigned long scriptLineNo; */
  NS_IMETHOD GetScriptLineNo(uint32_t *aScriptLineNo) = 0;

  /* readonly attribute ACString pluginName; */
  NS_IMETHOD GetPluginName(nsACString & aPluginName) = 0;

  /* void terminateScript (); */
  NS_IMETHOD TerminateScript(void) = 0;

  /* void terminatePlugin (); */
  NS_IMETHOD TerminatePlugin(void) = 0;

  /* void terminateProcess (); */
  NS_IMETHOD TerminateProcess(void) = 0;

  /* void beginStartingDebugger (); */
  NS_IMETHOD BeginStartingDebugger(void) = 0;

  /* void endStartingDebugger (); */
  NS_IMETHOD EndStartingDebugger(void) = 0;

  /* bool isReportForBrowser (in nsIFrameLoader aFrameLoader); */
  NS_IMETHOD IsReportForBrowser(nsIFrameLoader *aFrameLoader, bool *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIHangReport, NS_IHANGREPORT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIHANGREPORT \
  NS_IMETHOD GetHangType(uint32_t *aHangType) override; \
  NS_IMETHOD GetScriptBrowser(nsIDOMElement * *aScriptBrowser) override; \
  NS_IMETHOD GetScriptFileName(nsACString & aScriptFileName) override; \
  NS_IMETHOD GetScriptLineNo(uint32_t *aScriptLineNo) override; \
  NS_IMETHOD GetPluginName(nsACString & aPluginName) override; \
  NS_IMETHOD TerminateScript(void) override; \
  NS_IMETHOD TerminatePlugin(void) override; \
  NS_IMETHOD TerminateProcess(void) override; \
  NS_IMETHOD BeginStartingDebugger(void) override; \
  NS_IMETHOD EndStartingDebugger(void) override; \
  NS_IMETHOD IsReportForBrowser(nsIFrameLoader *aFrameLoader, bool *_retval) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIHANGREPORT(_to) \
  NS_IMETHOD GetHangType(uint32_t *aHangType) override { return _to GetHangType(aHangType); } \
  NS_IMETHOD GetScriptBrowser(nsIDOMElement * *aScriptBrowser) override { return _to GetScriptBrowser(aScriptBrowser); } \
  NS_IMETHOD GetScriptFileName(nsACString & aScriptFileName) override { return _to GetScriptFileName(aScriptFileName); } \
  NS_IMETHOD GetScriptLineNo(uint32_t *aScriptLineNo) override { return _to GetScriptLineNo(aScriptLineNo); } \
  NS_IMETHOD GetPluginName(nsACString & aPluginName) override { return _to GetPluginName(aPluginName); } \
  NS_IMETHOD TerminateScript(void) override { return _to TerminateScript(); } \
  NS_IMETHOD TerminatePlugin(void) override { return _to TerminatePlugin(); } \
  NS_IMETHOD TerminateProcess(void) override { return _to TerminateProcess(); } \
  NS_IMETHOD BeginStartingDebugger(void) override { return _to BeginStartingDebugger(); } \
  NS_IMETHOD EndStartingDebugger(void) override { return _to EndStartingDebugger(); } \
  NS_IMETHOD IsReportForBrowser(nsIFrameLoader *aFrameLoader, bool *_retval) override { return _to IsReportForBrowser(aFrameLoader, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIHANGREPORT(_to) \
  NS_IMETHOD GetHangType(uint32_t *aHangType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHangType(aHangType); } \
  NS_IMETHOD GetScriptBrowser(nsIDOMElement * *aScriptBrowser) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScriptBrowser(aScriptBrowser); } \
  NS_IMETHOD GetScriptFileName(nsACString & aScriptFileName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScriptFileName(aScriptFileName); } \
  NS_IMETHOD GetScriptLineNo(uint32_t *aScriptLineNo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScriptLineNo(aScriptLineNo); } \
  NS_IMETHOD GetPluginName(nsACString & aPluginName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPluginName(aPluginName); } \
  NS_IMETHOD TerminateScript(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TerminateScript(); } \
  NS_IMETHOD TerminatePlugin(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TerminatePlugin(); } \
  NS_IMETHOD TerminateProcess(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->TerminateProcess(); } \
  NS_IMETHOD BeginStartingDebugger(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BeginStartingDebugger(); } \
  NS_IMETHOD EndStartingDebugger(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EndStartingDebugger(); } \
  NS_IMETHOD IsReportForBrowser(nsIFrameLoader *aFrameLoader, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsReportForBrowser(aFrameLoader, _retval); } 

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

/* Header file */
class nsHangReport : public nsIHangReport
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIHANGREPORT

  nsHangReport();

private:
  ~nsHangReport();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsHangReport, nsIHangReport)

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

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

/* readonly attribute unsigned long hangType; */
NS_IMETHODIMP nsHangReport::GetHangType(uint32_t *aHangType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMElement scriptBrowser; */
NS_IMETHODIMP nsHangReport::GetScriptBrowser(nsIDOMElement * *aScriptBrowser)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString scriptFileName; */
NS_IMETHODIMP nsHangReport::GetScriptFileName(nsACString & aScriptFileName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned long scriptLineNo; */
NS_IMETHODIMP nsHangReport::GetScriptLineNo(uint32_t *aScriptLineNo)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString pluginName; */
NS_IMETHODIMP nsHangReport::GetPluginName(nsACString & aPluginName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void terminateScript (); */
NS_IMETHODIMP nsHangReport::TerminateScript()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void terminatePlugin (); */
NS_IMETHODIMP nsHangReport::TerminatePlugin()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void terminateProcess (); */
NS_IMETHODIMP nsHangReport::TerminateProcess()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void beginStartingDebugger (); */
NS_IMETHODIMP nsHangReport::BeginStartingDebugger()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void endStartingDebugger (); */
NS_IMETHODIMP nsHangReport::EndStartingDebugger()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* bool isReportForBrowser (in nsIFrameLoader aFrameLoader); */
NS_IMETHODIMP nsHangReport::IsReportForBrowser(nsIFrameLoader *aFrameLoader, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIHangReport_h__ */