This file is indexed.

/usr/include/firefox/nsIUserInfo.h is in firefox-dev 11.0+build1-0ubuntu4.

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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/toolkit/components/startup/public/nsIUserInfo.idl
 */

#ifndef __gen_nsIUserInfo_h__
#define __gen_nsIUserInfo_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:    nsIUserInfo */
#define NS_IUSERINFO_IID_STR "6c1034f0-1dd2-11b2-aa14-e6657ed7bb0b"

#define NS_IUSERINFO_IID \
  {0x6c1034f0, 0x1dd2, 0x11b2, \
    { 0xaa, 0x14, 0xe6, 0x65, 0x7e, 0xd7, 0xbb, 0x0b }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIUserInfo : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IUSERINFO_IID)

  /* readonly attribute wstring fullname; */
  NS_SCRIPTABLE NS_IMETHOD GetFullname(PRUnichar * *aFullname) = 0;

  /* readonly attribute string emailAddress; */
  NS_SCRIPTABLE NS_IMETHOD GetEmailAddress(char * *aEmailAddress) = 0;

  /* readonly attribute string username; */
  NS_SCRIPTABLE NS_IMETHOD GetUsername(char * *aUsername) = 0;

  /* readonly attribute string domain; */
  NS_SCRIPTABLE NS_IMETHOD GetDomain(char * *aDomain) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIUserInfo, NS_IUSERINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIUSERINFO \
  NS_SCRIPTABLE NS_IMETHOD GetFullname(PRUnichar * *aFullname); \
  NS_SCRIPTABLE NS_IMETHOD GetEmailAddress(char * *aEmailAddress); \
  NS_SCRIPTABLE NS_IMETHOD GetUsername(char * *aUsername); \
  NS_SCRIPTABLE NS_IMETHOD GetDomain(char * *aDomain); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIUSERINFO(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetFullname(PRUnichar * *aFullname) { return _to GetFullname(aFullname); } \
  NS_SCRIPTABLE NS_IMETHOD GetEmailAddress(char * *aEmailAddress) { return _to GetEmailAddress(aEmailAddress); } \
  NS_SCRIPTABLE NS_IMETHOD GetUsername(char * *aUsername) { return _to GetUsername(aUsername); } \
  NS_SCRIPTABLE NS_IMETHOD GetDomain(char * *aDomain) { return _to GetDomain(aDomain); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIUSERINFO(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetFullname(PRUnichar * *aFullname) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullname(aFullname); } \
  NS_SCRIPTABLE NS_IMETHOD GetEmailAddress(char * *aEmailAddress) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmailAddress(aEmailAddress); } \
  NS_SCRIPTABLE NS_IMETHOD GetUsername(char * *aUsername) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsername(aUsername); } \
  NS_SCRIPTABLE NS_IMETHOD GetDomain(char * *aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomain(aDomain); } 

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

/* Header file */
class nsUserInfo : public nsIUserInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIUSERINFO

  nsUserInfo();

private:
  ~nsUserInfo();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsUserInfo, nsIUserInfo)

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

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

/* readonly attribute wstring fullname; */
NS_IMETHODIMP nsUserInfo::GetFullname(PRUnichar * *aFullname)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string emailAddress; */
NS_IMETHODIMP nsUserInfo::GetEmailAddress(char * *aEmailAddress)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string username; */
NS_IMETHODIMP nsUserInfo::GetUsername(char * *aUsername)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string domain; */
NS_IMETHODIMP nsUserInfo::GetDomain(char * *aDomain)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


// 14c13684-1dd2-11b2-9463-bb10ba742554
#define NS_USERINFO_CID \
{  0x14c13684, 0x1dd2, 0x11b2, \
  {0x94, 0x63, 0xbb, 0x10, 0xba, 0x74, 0x25, 0x54}}
#define NS_USERINFO_CONTRACTID "@mozilla.org/userinfo;1"

#endif /* __gen_nsIUserInfo_h__ */