This file is indexed.

/usr/include/thunderbird/nsIDataStore.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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDataStore.idl
 */

#ifndef __gen_nsIDataStore_h__
#define __gen_nsIDataStore_h__


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

#include "js/Value.h"

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


/* starting interface:    nsIDataStore */
#define NS_IDATASTORE_IID_STR "0b41fef5-14ba-48b0-923c-3d8fb64692ae"

#define NS_IDATASTORE_IID \
  {0x0b41fef5, 0x14ba, 0x48b0, \
    { 0x92, 0x3c, 0x3d, 0x8f, 0xb6, 0x46, 0x92, 0xae }}

class NS_NO_VTABLE nsIDataStore : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDATASTORE_IID)

  /* void init (in nsIDOMWindow window, in DOMString name, in DOMString manifestURL, in boolean readOnly); */
  NS_IMETHOD Init(nsIDOMWindow *window, const nsAString & name, const nsAString & manifestURL, bool readOnly) = 0;

  /* attribute jsval exposedObject; */
  NS_IMETHOD GetExposedObject(JS::MutableHandleValue aExposedObject) = 0;
  NS_IMETHOD SetExposedObject(JS::HandleValue aExposedObject) = 0;

  /* void retrieveRevisionId (in jsval cb); */
  NS_IMETHOD RetrieveRevisionId(JS::HandleValue cb) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDataStore, NS_IDATASTORE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDATASTORE \
  NS_IMETHOD Init(nsIDOMWindow *window, const nsAString & name, const nsAString & manifestURL, bool readOnly) override; \
  NS_IMETHOD GetExposedObject(JS::MutableHandleValue aExposedObject) override; \
  NS_IMETHOD SetExposedObject(JS::HandleValue aExposedObject) override; \
  NS_IMETHOD RetrieveRevisionId(JS::HandleValue cb) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDATASTORE(_to) \
  NS_IMETHOD Init(nsIDOMWindow *window, const nsAString & name, const nsAString & manifestURL, bool readOnly) override { return _to Init(window, name, manifestURL, readOnly); } \
  NS_IMETHOD GetExposedObject(JS::MutableHandleValue aExposedObject) override { return _to GetExposedObject(aExposedObject); } \
  NS_IMETHOD SetExposedObject(JS::HandleValue aExposedObject) override { return _to SetExposedObject(aExposedObject); } \
  NS_IMETHOD RetrieveRevisionId(JS::HandleValue cb) override { return _to RetrieveRevisionId(cb); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDATASTORE(_to) \
  NS_IMETHOD Init(nsIDOMWindow *window, const nsAString & name, const nsAString & manifestURL, bool readOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(window, name, manifestURL, readOnly); } \
  NS_IMETHOD GetExposedObject(JS::MutableHandleValue aExposedObject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExposedObject(aExposedObject); } \
  NS_IMETHOD SetExposedObject(JS::HandleValue aExposedObject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExposedObject(aExposedObject); } \
  NS_IMETHOD RetrieveRevisionId(JS::HandleValue cb) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RetrieveRevisionId(cb); } 

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

/* Header file */
class nsDataStore : public nsIDataStore
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDATASTORE

  nsDataStore();

private:
  ~nsDataStore();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDataStore, nsIDataStore)

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

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

/* void init (in nsIDOMWindow window, in DOMString name, in DOMString manifestURL, in boolean readOnly); */
NS_IMETHODIMP nsDataStore::Init(nsIDOMWindow *window, const nsAString & name, const nsAString & manifestURL, bool readOnly)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute jsval exposedObject; */
NS_IMETHODIMP nsDataStore::GetExposedObject(JS::MutableHandleValue aExposedObject)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDataStore::SetExposedObject(JS::HandleValue aExposedObject)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void retrieveRevisionId (in jsval cb); */
NS_IMETHODIMP nsDataStore::RetrieveRevisionId(JS::HandleValue cb)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDataStore_h__ */