This file is indexed.

/usr/include/thunderbird/nsIHttpChannelAuthProvider.h is in thunderbird-dev 1:52.8.0-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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIHttpChannelAuthProvider.idl
 */

#ifndef __gen_nsIHttpChannelAuthProvider_h__
#define __gen_nsIHttpChannelAuthProvider_h__


#ifndef __gen_nsICancelable_h__
#include "nsICancelable.h"
#endif

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

class nsIHttpAuthenticableChannel; /* forward declaration */


/* starting interface:    nsIHttpChannelAuthProvider */
#define NS_IHTTPCHANNELAUTHPROVIDER_IID_STR "788f331b-2e1f-436c-b405-4f88a31a105b"

#define NS_IHTTPCHANNELAUTHPROVIDER_IID \
  {0x788f331b, 0x2e1f, 0x436c, \
    { 0xb4, 0x05, 0x4f, 0x88, 0xa3, 0x1a, 0x10, 0x5b }}

class NS_NO_VTABLE nsIHttpChannelAuthProvider : public nsICancelable {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTTPCHANNELAUTHPROVIDER_IID)

  /* void init (in nsIHttpAuthenticableChannel channel); */
  NS_IMETHOD Init(nsIHttpAuthenticableChannel *channel) = 0;

  /* void processAuthentication (in unsigned long httpStatus, in boolean sslConnectFailed); */
  NS_IMETHOD ProcessAuthentication(uint32_t httpStatus, bool sslConnectFailed) = 0;

  /* void addAuthorizationHeaders (in boolean dontUseCachedWWWCreds); */
  NS_IMETHOD AddAuthorizationHeaders(bool dontUseCachedWWWCreds) = 0;

  /* void checkForSuperfluousAuth (); */
  NS_IMETHOD CheckForSuperfluousAuth(void) = 0;

  /* void disconnect (in nsresult status); */
  NS_IMETHOD Disconnect(nsresult status) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIHttpChannelAuthProvider, NS_IHTTPCHANNELAUTHPROVIDER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIHTTPCHANNELAUTHPROVIDER \
  NS_IMETHOD Init(nsIHttpAuthenticableChannel *channel) override; \
  NS_IMETHOD ProcessAuthentication(uint32_t httpStatus, bool sslConnectFailed) override; \
  NS_IMETHOD AddAuthorizationHeaders(bool dontUseCachedWWWCreds) override; \
  NS_IMETHOD CheckForSuperfluousAuth(void) override; \
  NS_IMETHOD Disconnect(nsresult status) 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_NSIHTTPCHANNELAUTHPROVIDER \
  NS_METHOD Init(nsIHttpAuthenticableChannel *channel); \
  NS_METHOD ProcessAuthentication(uint32_t httpStatus, bool sslConnectFailed); \
  NS_METHOD AddAuthorizationHeaders(bool dontUseCachedWWWCreds); \
  NS_METHOD CheckForSuperfluousAuth(void); \
  NS_METHOD Disconnect(nsresult status); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIHTTPCHANNELAUTHPROVIDER(_to) \
  NS_IMETHOD Init(nsIHttpAuthenticableChannel *channel) override { return _to Init(channel); } \
  NS_IMETHOD ProcessAuthentication(uint32_t httpStatus, bool sslConnectFailed) override { return _to ProcessAuthentication(httpStatus, sslConnectFailed); } \
  NS_IMETHOD AddAuthorizationHeaders(bool dontUseCachedWWWCreds) override { return _to AddAuthorizationHeaders(dontUseCachedWWWCreds); } \
  NS_IMETHOD CheckForSuperfluousAuth(void) override { return _to CheckForSuperfluousAuth(); } \
  NS_IMETHOD Disconnect(nsresult status) override { return _to Disconnect(status); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIHTTPCHANNELAUTHPROVIDER(_to) \
  NS_IMETHOD Init(nsIHttpAuthenticableChannel *channel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(channel); } \
  NS_IMETHOD ProcessAuthentication(uint32_t httpStatus, bool sslConnectFailed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessAuthentication(httpStatus, sslConnectFailed); } \
  NS_IMETHOD AddAuthorizationHeaders(bool dontUseCachedWWWCreds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAuthorizationHeaders(dontUseCachedWWWCreds); } \
  NS_IMETHOD CheckForSuperfluousAuth(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckForSuperfluousAuth(); } \
  NS_IMETHOD Disconnect(nsresult status) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Disconnect(status); } 

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

/* Header file */
class nsHttpChannelAuthProvider : public nsIHttpChannelAuthProvider
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIHTTPCHANNELAUTHPROVIDER

  nsHttpChannelAuthProvider();

private:
  ~nsHttpChannelAuthProvider();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsHttpChannelAuthProvider, nsIHttpChannelAuthProvider)

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

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

/* void init (in nsIHttpAuthenticableChannel channel); */
NS_IMETHODIMP nsHttpChannelAuthProvider::Init(nsIHttpAuthenticableChannel *channel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void processAuthentication (in unsigned long httpStatus, in boolean sslConnectFailed); */
NS_IMETHODIMP nsHttpChannelAuthProvider::ProcessAuthentication(uint32_t httpStatus, bool sslConnectFailed)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addAuthorizationHeaders (in boolean dontUseCachedWWWCreds); */
NS_IMETHODIMP nsHttpChannelAuthProvider::AddAuthorizationHeaders(bool dontUseCachedWWWCreds)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void checkForSuperfluousAuth (); */
NS_IMETHODIMP nsHttpChannelAuthProvider::CheckForSuperfluousAuth()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void disconnect (in nsresult status); */
NS_IMETHODIMP nsHttpChannelAuthProvider::Disconnect(nsresult status)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIHttpChannelAuthProvider_h__ */