This file is indexed.

/usr/include/firefox-esr-52/nsIPartialSHistory.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
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIPartialSHistory.idl
 */

#ifndef __gen_nsIPartialSHistory_h__
#define __gen_nsIPartialSHistory_h__


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

#include "mozilla/Assertions.h"
#include "mozilla/DebugOnly.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIFrameLoader; /* forward declaration */


/* starting interface:    nsIPartialSHistory */
#define NS_IPARTIALSHISTORY_IID_STR "5cd75e28-838c-4a0a-972e-6005f736ef7a"

#define NS_IPARTIALSHISTORY_IID \
  {0x5cd75e28, 0x838c, 0x4a0a, \
    { 0x97, 0x2e, 0x60, 0x05, 0xf7, 0x36, 0xef, 0x7a }}

class NS_NO_VTABLE nsIPartialSHistory : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPARTIALSHISTORY_IID)

  /* [infallible] readonly attribute unsigned long count; */
  NS_IMETHOD GetCount(uint32_t *aCount) = 0;
  inline uint32_t GetCount()
  {
    uint32_t result;
    mozilla::DebugOnly<nsresult> rv = GetCount(&result);
    MOZ_ASSERT(NS_SUCCEEDED(rv));
    return result;
  }

  /* [infallible] readonly attribute unsigned long globalIndexOffset; */
  NS_IMETHOD GetGlobalIndexOffset(uint32_t *aGlobalIndexOffset) = 0;
  inline uint32_t GetGlobalIndexOffset()
  {
    uint32_t result;
    mozilla::DebugOnly<nsresult> rv = GetGlobalIndexOffset(&result);
    MOZ_ASSERT(NS_SUCCEEDED(rv));
    return result;
  }

  /* readonly attribute nsIFrameLoader ownerFrameLoader; */
  NS_IMETHOD GetOwnerFrameLoader(nsIFrameLoader * *aOwnerFrameLoader) = 0;

  /* void onAttachGroupedSessionHistory (in unsigned long aOffset); */
  NS_IMETHOD OnAttachGroupedSessionHistory(uint32_t aOffset) = 0;

  /* void onSessionHistoryChange (in unsigned long aCount); */
  NS_IMETHOD OnSessionHistoryChange(uint32_t aCount) = 0;

  /* void onActive (in unsigned long aGlobalLength, in unsigned long aTargetLocalIndex); */
  NS_IMETHOD OnActive(uint32_t aGlobalLength, uint32_t aTargetLocalIndex) = 0;

  /* void onDeactive (); */
  NS_IMETHOD OnDeactive(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIPartialSHistory, NS_IPARTIALSHISTORY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPARTIALSHISTORY \
  using nsIPartialSHistory::GetCount; \
  NS_IMETHOD GetCount(uint32_t *aCount) override; \
  using nsIPartialSHistory::GetGlobalIndexOffset; \
  NS_IMETHOD GetGlobalIndexOffset(uint32_t *aGlobalIndexOffset) override; \
  NS_IMETHOD GetOwnerFrameLoader(nsIFrameLoader * *aOwnerFrameLoader) override; \
  NS_IMETHOD OnAttachGroupedSessionHistory(uint32_t aOffset) override; \
  NS_IMETHOD OnSessionHistoryChange(uint32_t aCount) override; \
  NS_IMETHOD OnActive(uint32_t aGlobalLength, uint32_t aTargetLocalIndex) override; \
  NS_IMETHOD OnDeactive(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_NSIPARTIALSHISTORY \
  using nsIPartialSHistory::GetCount; \
  NS_METHOD GetCount(uint32_t *aCount); \
  using nsIPartialSHistory::GetGlobalIndexOffset; \
  NS_METHOD GetGlobalIndexOffset(uint32_t *aGlobalIndexOffset); \
  NS_METHOD GetOwnerFrameLoader(nsIFrameLoader * *aOwnerFrameLoader); \
  NS_METHOD OnAttachGroupedSessionHistory(uint32_t aOffset); \
  NS_METHOD OnSessionHistoryChange(uint32_t aCount); \
  NS_METHOD OnActive(uint32_t aGlobalLength, uint32_t aTargetLocalIndex); \
  NS_METHOD OnDeactive(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPARTIALSHISTORY(_to) \
  using nsIPartialSHistory::GetCount; \
  NS_IMETHOD GetCount(uint32_t *aCount) override { return _to GetCount(aCount); } \
  using nsIPartialSHistory::GetGlobalIndexOffset; \
  NS_IMETHOD GetGlobalIndexOffset(uint32_t *aGlobalIndexOffset) override { return _to GetGlobalIndexOffset(aGlobalIndexOffset); } \
  NS_IMETHOD GetOwnerFrameLoader(nsIFrameLoader * *aOwnerFrameLoader) override { return _to GetOwnerFrameLoader(aOwnerFrameLoader); } \
  NS_IMETHOD OnAttachGroupedSessionHistory(uint32_t aOffset) override { return _to OnAttachGroupedSessionHistory(aOffset); } \
  NS_IMETHOD OnSessionHistoryChange(uint32_t aCount) override { return _to OnSessionHistoryChange(aCount); } \
  NS_IMETHOD OnActive(uint32_t aGlobalLength, uint32_t aTargetLocalIndex) override { return _to OnActive(aGlobalLength, aTargetLocalIndex); } \
  NS_IMETHOD OnDeactive(void) override { return _to OnDeactive(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIPARTIALSHISTORY(_to) \
  NS_IMETHOD GetCount(uint32_t *aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \
  NS_IMETHOD GetGlobalIndexOffset(uint32_t *aGlobalIndexOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGlobalIndexOffset(aGlobalIndexOffset); } \
  NS_IMETHOD GetOwnerFrameLoader(nsIFrameLoader * *aOwnerFrameLoader) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerFrameLoader(aOwnerFrameLoader); } \
  NS_IMETHOD OnAttachGroupedSessionHistory(uint32_t aOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnAttachGroupedSessionHistory(aOffset); } \
  NS_IMETHOD OnSessionHistoryChange(uint32_t aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSessionHistoryChange(aCount); } \
  NS_IMETHOD OnActive(uint32_t aGlobalLength, uint32_t aTargetLocalIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnActive(aGlobalLength, aTargetLocalIndex); } \
  NS_IMETHOD OnDeactive(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnDeactive(); } 

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

/* Header file */
class nsPartialSHistory : public nsIPartialSHistory
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPARTIALSHISTORY

  nsPartialSHistory();

private:
  ~nsPartialSHistory();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsPartialSHistory, nsIPartialSHistory)

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

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

/* [infallible] readonly attribute unsigned long count; */
NS_IMETHODIMP nsPartialSHistory::GetCount(uint32_t *aCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [infallible] readonly attribute unsigned long globalIndexOffset; */
NS_IMETHODIMP nsPartialSHistory::GetGlobalIndexOffset(uint32_t *aGlobalIndexOffset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIFrameLoader ownerFrameLoader; */
NS_IMETHODIMP nsPartialSHistory::GetOwnerFrameLoader(nsIFrameLoader * *aOwnerFrameLoader)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onAttachGroupedSessionHistory (in unsigned long aOffset); */
NS_IMETHODIMP nsPartialSHistory::OnAttachGroupedSessionHistory(uint32_t aOffset)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSessionHistoryChange (in unsigned long aCount); */
NS_IMETHODIMP nsPartialSHistory::OnSessionHistoryChange(uint32_t aCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onActive (in unsigned long aGlobalLength, in unsigned long aTargetLocalIndex); */
NS_IMETHODIMP nsPartialSHistory::OnActive(uint32_t aGlobalLength, uint32_t aTargetLocalIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onDeactive (); */
NS_IMETHODIMP nsPartialSHistory::OnDeactive()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIPartialSHistory_h__ */