This file is indexed.

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

#ifndef __gen_inISearchObserver_h__
#define __gen_inISearchObserver_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 inISearchProcess; /* forward declaration */


/* starting interface:    inISearchObserver */
#define INISEARCHOBSERVER_IID_STR "46226d9b-e398-4106-8d9b-225d4d0589f5"

#define INISEARCHOBSERVER_IID \
  {0x46226d9b, 0xe398, 0x4106, \
    { 0x8d, 0x9b, 0x22, 0x5d, 0x4d, 0x05, 0x89, 0xf5 }}

class NS_NO_VTABLE inISearchObserver : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(INISEARCHOBSERVER_IID)

  enum {
    IN_SUCCESS = 1,
    IN_INTERRUPTED = 2,
    IN_ERROR = 3
  };

  /* void onSearchStart (in inISearchProcess aModule); */
  NS_IMETHOD OnSearchStart(inISearchProcess *aModule) = 0;

  /* void onSearchResult (in inISearchProcess aModule); */
  NS_IMETHOD OnSearchResult(inISearchProcess *aModule) = 0;

  /* void onSearchEnd (in inISearchProcess aModule, in short aResult); */
  NS_IMETHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult) = 0;

  /* void onSearchError (in inISearchProcess aModule, in AString aMessage); */
  NS_IMETHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(inISearchObserver, INISEARCHOBSERVER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_INISEARCHOBSERVER \
  NS_IMETHOD OnSearchStart(inISearchProcess *aModule) override; \
  NS_IMETHOD OnSearchResult(inISearchProcess *aModule) override; \
  NS_IMETHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult) override; \
  NS_IMETHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage) 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_INISEARCHOBSERVER \
  NS_METHOD OnSearchStart(inISearchProcess *aModule); \
  NS_METHOD OnSearchResult(inISearchProcess *aModule); \
  NS_METHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult); \
  NS_METHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_INISEARCHOBSERVER(_to) \
  NS_IMETHOD OnSearchStart(inISearchProcess *aModule) override { return _to OnSearchStart(aModule); } \
  NS_IMETHOD OnSearchResult(inISearchProcess *aModule) override { return _to OnSearchResult(aModule); } \
  NS_IMETHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult) override { return _to OnSearchEnd(aModule, aResult); } \
  NS_IMETHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage) override { return _to OnSearchError(aModule, aMessage); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_INISEARCHOBSERVER(_to) \
  NS_IMETHOD OnSearchStart(inISearchProcess *aModule) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchStart(aModule); } \
  NS_IMETHOD OnSearchResult(inISearchProcess *aModule) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchResult(aModule); } \
  NS_IMETHOD OnSearchEnd(inISearchProcess *aModule, int16_t aResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchEnd(aModule, aResult); } \
  NS_IMETHOD OnSearchError(inISearchProcess *aModule, const nsAString & aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSearchError(aModule, aMessage); } 

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

/* Header file */
class inSearchObserver : public inISearchObserver
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_INISEARCHOBSERVER

  inSearchObserver();

private:
  ~inSearchObserver();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(inSearchObserver, inISearchObserver)

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

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

/* void onSearchStart (in inISearchProcess aModule); */
NS_IMETHODIMP inSearchObserver::OnSearchStart(inISearchProcess *aModule)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSearchResult (in inISearchProcess aModule); */
NS_IMETHODIMP inSearchObserver::OnSearchResult(inISearchProcess *aModule)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSearchEnd (in inISearchProcess aModule, in short aResult); */
NS_IMETHODIMP inSearchObserver::OnSearchEnd(inISearchProcess *aModule, int16_t aResult)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSearchError (in inISearchProcess aModule, in AString aMessage); */
NS_IMETHODIMP inSearchObserver::OnSearchError(inISearchProcess *aModule, const nsAString & aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_inISearchObserver_h__ */