LCOV - app.info - objdir/dist/include/nsIHttpChannelInternal.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIHttpChannelInternal.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 2 | 1 | 50.0 %
| Date: | 2012-04-21 | Functions: | 2 | 1 | 50.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-aurora-lnx-codecoverage/build/netwerk/protocol/http/nsIHttpChannelInternal.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIHttpChannelInternal_h__
           6                 : #define __gen_nsIHttpChannelInternal_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsISupports_h__
          10                 : #include "nsISupports.h"
          11                 : #endif
          12                 :
          13                 : /* For IDL files that don't want to include root IDL files. */
          14                 : #ifndef NS_NO_VTABLE
          15                 : #define NS_NO_VTABLE
          16                 : #endif
          17                 : #include "nsTArray.h"
          18                 : class nsCString;
          19                 : class nsISocketTransport; /* forward declaration */
          20                 :
          21                 : class nsIAsyncInputStream; /* forward declaration */
          22                 :
          23                 : class nsIAsyncOutputStream; /* forward declaration */
          24                 :
          25                 : class nsIURI; /* forward declaration */
          26                 :
          27                 : class nsIProxyInfo; /* forward declaration */
          28                 :
          29                 :
          30                 : /* starting interface:    nsIHttpUpgradeListener */
          31                 : #define NS_IHTTPUPGRADELISTENER_IID_STR "4b967b6d-cd1c-49ae-a457-23ff76f5a2e8"
          32                 :
          33                 : #define NS_IHTTPUPGRADELISTENER_IID \
          34                 :   {0x4b967b6d, 0xcd1c, 0x49ae, \
          35                 :     { 0xa4, 0x57, 0x23, 0xff, 0x76, 0xf5, 0xa2, 0xe8 }}
          36                 :
          37               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIHttpUpgradeListener : public nsISupports {
          38                 :  public:
          39                 :
          40                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTTPUPGRADELISTENER_IID)
          41                 :
          42                 :   /* void onTransportAvailable (in nsISocketTransport aTransport, in nsIAsyncInputStream aSocketIn, in nsIAsyncOutputStream aSocketOut); */
          43                 :   NS_SCRIPTABLE NS_IMETHOD OnTransportAvailable(nsISocketTransport *aTransport, nsIAsyncInputStream *aSocketIn, nsIAsyncOutputStream *aSocketOut) = 0;
          44                 :
          45                 : };
          46                 :
          47                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIHttpUpgradeListener, NS_IHTTPUPGRADELISTENER_IID)
          48                 :
          49                 : /* Use this macro when declaring classes that implement this interface. */
          50                 : #define NS_DECL_NSIHTTPUPGRADELISTENER \
          51                 :   NS_SCRIPTABLE NS_IMETHOD OnTransportAvailable(nsISocketTransport *aTransport, nsIAsyncInputStream *aSocketIn, nsIAsyncOutputStream *aSocketOut);
          52                 :
          53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          54                 : #define NS_FORWARD_NSIHTTPUPGRADELISTENER(_to) \
          55                 :   NS_SCRIPTABLE NS_IMETHOD OnTransportAvailable(nsISocketTransport *aTransport, nsIAsyncInputStream *aSocketIn, nsIAsyncOutputStream *aSocketOut) { return _to OnTransportAvailable(aTransport, aSocketIn, aSocketOut); }
          56                 :
          57                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          58                 : #define NS_FORWARD_SAFE_NSIHTTPUPGRADELISTENER(_to) \
          59                 :   NS_SCRIPTABLE NS_IMETHOD OnTransportAvailable(nsISocketTransport *aTransport, nsIAsyncInputStream *aSocketIn, nsIAsyncOutputStream *aSocketOut) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnTransportAvailable(aTransport, aSocketIn, aSocketOut); }
          60                 :
          61                 : #if 0
          62                 : /* Use the code below as a template for the implementation class for this interface. */
          63                 :
          64                 : /* Header file */
          65                 : class nsHttpUpgradeListener : public nsIHttpUpgradeListener
          66                 : {
          67                 : public:
          68                 :   NS_DECL_ISUPPORTS
          69                 :   NS_DECL_NSIHTTPUPGRADELISTENER
          70                 :
          71                 :   nsHttpUpgradeListener();
          72                 :
          73                 : private:
          74                 :   ~nsHttpUpgradeListener();
          75                 :
          76                 : protected:
          77                 :   /* additional members */
          78                 : };
          79                 :
          80                 : /* Implementation file */
          81                 : NS_IMPL_ISUPPORTS1(nsHttpUpgradeListener, nsIHttpUpgradeListener)
          82                 :
          83                 : nsHttpUpgradeListener::nsHttpUpgradeListener()
          84                 : {
          85                 :   /* member initializers and constructor code */
          86                 : }
          87                 :
          88                 : nsHttpUpgradeListener::~nsHttpUpgradeListener()
          89                 : {
          90                 :   /* destructor code */
          91                 : }
          92                 :
          93                 : /* void onTransportAvailable (in nsISocketTransport aTransport, in nsIAsyncInputStream aSocketIn, in nsIAsyncOutputStream aSocketOut); */
          94                 : NS_IMETHODIMP nsHttpUpgradeListener::OnTransportAvailable(nsISocketTransport *aTransport, nsIAsyncInputStream *aSocketIn, nsIAsyncOutputStream *aSocketOut)
          95                 : {
          96                 :     return NS_ERROR_NOT_IMPLEMENTED;
          97                 : }
          98                 :
          99                 : /* End of implementation class template. */
         100                 : #endif
         101                 :
         102                 :
         103                 : /* starting interface:    nsIHttpChannelInternal */
         104                 : #define NS_IHTTPCHANNELINTERNAL_IID_STR "9363fd96-af59-47e8-bddf-1d5e91acd336"
         105                 :
         106                 : #define NS_IHTTPCHANNELINTERNAL_IID \
         107                 :   {0x9363fd96, 0xaf59, 0x47e8, \
         108                 :     { 0xbd, 0xdf, 0x1d, 0x5e, 0x91, 0xac, 0xd3, 0x36 }}
         109                 :
         110            3529 : class NS_NO_VTABLE NS_SCRIPTABLE nsIHttpChannelInternal : public nsISupports {
         111                 :  public:
         112                 :
         113                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTTPCHANNELINTERNAL_IID)
         114                 :
         115                 :   /* attribute nsIURI documentURI; */
         116                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentURI(nsIURI * *aDocumentURI) = 0;
         117                 :   NS_SCRIPTABLE NS_IMETHOD SetDocumentURI(nsIURI *aDocumentURI) = 0;
         118                 :
         119                 :   /* void getRequestVersion (out unsigned long major, out unsigned long minor); */
         120                 :   NS_SCRIPTABLE NS_IMETHOD GetRequestVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM) = 0;
         121                 :
         122                 :   /* void getResponseVersion (out unsigned long major, out unsigned long minor); */
         123                 :   NS_SCRIPTABLE NS_IMETHOD GetResponseVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM) = 0;
         124                 :
         125                 :   /* void setCookie (in string aCookieHeader); */
         126                 :   NS_SCRIPTABLE NS_IMETHOD SetCookie(const char * aCookieHeader) = 0;
         127                 :
         128                 :   /* void setupFallbackChannel (in string aFallbackKey); */
         129                 :   NS_SCRIPTABLE NS_IMETHOD SetupFallbackChannel(const char * aFallbackKey) = 0;
         130                 :
         131                 :   /* attribute boolean forceAllowThirdPartyCookie; */
         132                 :   NS_SCRIPTABLE NS_IMETHOD GetForceAllowThirdPartyCookie(bool *aForceAllowThirdPartyCookie) = 0;
         133                 :   NS_SCRIPTABLE NS_IMETHOD SetForceAllowThirdPartyCookie(bool aForceAllowThirdPartyCookie) = 0;
         134                 :
         135                 :   /* readonly attribute boolean canceled; */
         136                 :   NS_SCRIPTABLE NS_IMETHOD GetCanceled(bool *aCanceled) = 0;
         137                 :
         138                 :   /* attribute boolean channelIsForDownload; */
         139                 :   NS_SCRIPTABLE NS_IMETHOD GetChannelIsForDownload(bool *aChannelIsForDownload) = 0;
         140                 :   NS_SCRIPTABLE NS_IMETHOD SetChannelIsForDownload(bool aChannelIsForDownload) = 0;
         141                 :
         142                 :   /* readonly attribute AUTF8String localAddress; */
         143                 :   NS_SCRIPTABLE NS_IMETHOD GetLocalAddress(nsACString & aLocalAddress) = 0;
         144                 :
         145                 :   /* readonly attribute PRInt32 localPort; */
         146                 :   NS_SCRIPTABLE NS_IMETHOD GetLocalPort(PRInt32 *aLocalPort) = 0;
         147                 :
         148                 :   /* readonly attribute AUTF8String remoteAddress; */
         149                 :   NS_SCRIPTABLE NS_IMETHOD GetRemoteAddress(nsACString & aRemoteAddress) = 0;
         150                 :
         151                 :   /* readonly attribute PRInt32 remotePort; */
         152                 :   NS_SCRIPTABLE NS_IMETHOD GetRemotePort(PRInt32 *aRemotePort) = 0;
         153                 :
         154                 :   /* [noscript] void setCacheKeysRedirectChain (in StringArray cacheKeys); */
         155                 :   NS_IMETHOD SetCacheKeysRedirectChain(nsTArray<nsCString> *cacheKeys) = 0;
         156                 :
         157                 :   /* void HTTPUpgrade (in ACString aProtocolName, in nsIHttpUpgradeListener aListener); */
         158                 :   NS_SCRIPTABLE NS_IMETHOD HTTPUpgrade(const nsACString & aProtocolName, nsIHttpUpgradeListener *aListener) = 0;
         159                 :
         160                 :   /* attribute boolean allowSpdy; */
         161                 :   NS_SCRIPTABLE NS_IMETHOD GetAllowSpdy(bool *aAllowSpdy) = 0;
         162                 :   NS_SCRIPTABLE NS_IMETHOD SetAllowSpdy(bool aAllowSpdy) = 0;
         163                 :
         164                 : };
         165                 :
         166                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIHttpChannelInternal, NS_IHTTPCHANNELINTERNAL_IID)
         167                 :
         168                 : /* Use this macro when declaring classes that implement this interface. */
         169                 : #define NS_DECL_NSIHTTPCHANNELINTERNAL \
         170                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentURI(nsIURI * *aDocumentURI); \
         171                 :   NS_SCRIPTABLE NS_IMETHOD SetDocumentURI(nsIURI *aDocumentURI); \
         172                 :   NS_SCRIPTABLE NS_IMETHOD GetRequestVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM); \
         173                 :   NS_SCRIPTABLE NS_IMETHOD GetResponseVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM); \
         174                 :   NS_SCRIPTABLE NS_IMETHOD SetCookie(const char * aCookieHeader); \
         175                 :   NS_SCRIPTABLE NS_IMETHOD SetupFallbackChannel(const char * aFallbackKey); \
         176                 :   NS_SCRIPTABLE NS_IMETHOD GetForceAllowThirdPartyCookie(bool *aForceAllowThirdPartyCookie); \
         177                 :   NS_SCRIPTABLE NS_IMETHOD SetForceAllowThirdPartyCookie(bool aForceAllowThirdPartyCookie); \
         178                 :   NS_SCRIPTABLE NS_IMETHOD GetCanceled(bool *aCanceled); \
         179                 :   NS_SCRIPTABLE NS_IMETHOD GetChannelIsForDownload(bool *aChannelIsForDownload); \
         180                 :   NS_SCRIPTABLE NS_IMETHOD SetChannelIsForDownload(bool aChannelIsForDownload); \
         181                 :   NS_SCRIPTABLE NS_IMETHOD GetLocalAddress(nsACString & aLocalAddress); \
         182                 :   NS_SCRIPTABLE NS_IMETHOD GetLocalPort(PRInt32 *aLocalPort); \
         183                 :   NS_SCRIPTABLE NS_IMETHOD GetRemoteAddress(nsACString & aRemoteAddress); \
         184                 :   NS_SCRIPTABLE NS_IMETHOD GetRemotePort(PRInt32 *aRemotePort); \
         185                 :   NS_IMETHOD SetCacheKeysRedirectChain(nsTArray<nsCString> *cacheKeys); \
         186                 :   NS_SCRIPTABLE NS_IMETHOD HTTPUpgrade(const nsACString & aProtocolName, nsIHttpUpgradeListener *aListener); \
         187                 :   NS_SCRIPTABLE NS_IMETHOD GetAllowSpdy(bool *aAllowSpdy); \
         188                 :   NS_SCRIPTABLE NS_IMETHOD SetAllowSpdy(bool aAllowSpdy);
         189                 :
         190                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
         191                 : #define NS_FORWARD_NSIHTTPCHANNELINTERNAL(_to) \
         192                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentURI(nsIURI * *aDocumentURI) { return _to GetDocumentURI(aDocumentURI); } \
         193                 :   NS_SCRIPTABLE NS_IMETHOD SetDocumentURI(nsIURI *aDocumentURI) { return _to SetDocumentURI(aDocumentURI); } \
         194                 :   NS_SCRIPTABLE NS_IMETHOD GetRequestVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM) { return _to GetRequestVersion(major, minor); } \
         195                 :   NS_SCRIPTABLE NS_IMETHOD GetResponseVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM) { return _to GetResponseVersion(major, minor); } \
         196                 :   NS_SCRIPTABLE NS_IMETHOD SetCookie(const char * aCookieHeader) { return _to SetCookie(aCookieHeader); } \
         197                 :   NS_SCRIPTABLE NS_IMETHOD SetupFallbackChannel(const char * aFallbackKey) { return _to SetupFallbackChannel(aFallbackKey); } \
         198                 :   NS_SCRIPTABLE NS_IMETHOD GetForceAllowThirdPartyCookie(bool *aForceAllowThirdPartyCookie) { return _to GetForceAllowThirdPartyCookie(aForceAllowThirdPartyCookie); } \
         199                 :   NS_SCRIPTABLE NS_IMETHOD SetForceAllowThirdPartyCookie(bool aForceAllowThirdPartyCookie) { return _to SetForceAllowThirdPartyCookie(aForceAllowThirdPartyCookie); } \
         200                 :   NS_SCRIPTABLE NS_IMETHOD GetCanceled(bool *aCanceled) { return _to GetCanceled(aCanceled); } \
         201                 :   NS_SCRIPTABLE NS_IMETHOD GetChannelIsForDownload(bool *aChannelIsForDownload) { return _to GetChannelIsForDownload(aChannelIsForDownload); } \
         202                 :   NS_SCRIPTABLE NS_IMETHOD SetChannelIsForDownload(bool aChannelIsForDownload) { return _to SetChannelIsForDownload(aChannelIsForDownload); } \
         203                 :   NS_SCRIPTABLE NS_IMETHOD GetLocalAddress(nsACString & aLocalAddress) { return _to GetLocalAddress(aLocalAddress); } \
         204                 :   NS_SCRIPTABLE NS_IMETHOD GetLocalPort(PRInt32 *aLocalPort) { return _to GetLocalPort(aLocalPort); } \
         205                 :   NS_SCRIPTABLE NS_IMETHOD GetRemoteAddress(nsACString & aRemoteAddress) { return _to GetRemoteAddress(aRemoteAddress); } \
         206                 :   NS_SCRIPTABLE NS_IMETHOD GetRemotePort(PRInt32 *aRemotePort) { return _to GetRemotePort(aRemotePort); } \
         207                 :   NS_IMETHOD SetCacheKeysRedirectChain(nsTArray<nsCString> *cacheKeys) { return _to SetCacheKeysRedirectChain(cacheKeys); } \
         208                 :   NS_SCRIPTABLE NS_IMETHOD HTTPUpgrade(const nsACString & aProtocolName, nsIHttpUpgradeListener *aListener) { return _to HTTPUpgrade(aProtocolName, aListener); } \
         209                 :   NS_SCRIPTABLE NS_IMETHOD GetAllowSpdy(bool *aAllowSpdy) { return _to GetAllowSpdy(aAllowSpdy); } \
         210                 :   NS_SCRIPTABLE NS_IMETHOD SetAllowSpdy(bool aAllowSpdy) { return _to SetAllowSpdy(aAllowSpdy); }
         211                 :
         212                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         213                 : #define NS_FORWARD_SAFE_NSIHTTPCHANNELINTERNAL(_to) \
         214                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentURI(nsIURI * *aDocumentURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocumentURI(aDocumentURI); } \
         215                 :   NS_SCRIPTABLE NS_IMETHOD SetDocumentURI(nsIURI *aDocumentURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocumentURI(aDocumentURI); } \
         216                 :   NS_SCRIPTABLE NS_IMETHOD GetRequestVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestVersion(major, minor); } \
         217                 :   NS_SCRIPTABLE NS_IMETHOD GetResponseVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResponseVersion(major, minor); } \
         218                 :   NS_SCRIPTABLE NS_IMETHOD SetCookie(const char * aCookieHeader) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCookie(aCookieHeader); } \
         219                 :   NS_SCRIPTABLE NS_IMETHOD SetupFallbackChannel(const char * aFallbackKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetupFallbackChannel(aFallbackKey); } \
         220                 :   NS_SCRIPTABLE NS_IMETHOD GetForceAllowThirdPartyCookie(bool *aForceAllowThirdPartyCookie) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForceAllowThirdPartyCookie(aForceAllowThirdPartyCookie); } \
         221                 :   NS_SCRIPTABLE NS_IMETHOD SetForceAllowThirdPartyCookie(bool aForceAllowThirdPartyCookie) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetForceAllowThirdPartyCookie(aForceAllowThirdPartyCookie); } \
         222                 :   NS_SCRIPTABLE NS_IMETHOD GetCanceled(bool *aCanceled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanceled(aCanceled); } \
         223                 :   NS_SCRIPTABLE NS_IMETHOD GetChannelIsForDownload(bool *aChannelIsForDownload) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChannelIsForDownload(aChannelIsForDownload); } \
         224                 :   NS_SCRIPTABLE NS_IMETHOD SetChannelIsForDownload(bool aChannelIsForDownload) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChannelIsForDownload(aChannelIsForDownload); } \
         225                 :   NS_SCRIPTABLE NS_IMETHOD GetLocalAddress(nsACString & aLocalAddress) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalAddress(aLocalAddress); } \
         226                 :   NS_SCRIPTABLE NS_IMETHOD GetLocalPort(PRInt32 *aLocalPort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalPort(aLocalPort); } \
         227                 :   NS_SCRIPTABLE NS_IMETHOD GetRemoteAddress(nsACString & aRemoteAddress) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRemoteAddress(aRemoteAddress); } \
         228                 :   NS_SCRIPTABLE NS_IMETHOD GetRemotePort(PRInt32 *aRemotePort) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRemotePort(aRemotePort); } \
         229                 :   NS_IMETHOD SetCacheKeysRedirectChain(nsTArray<nsCString> *cacheKeys) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCacheKeysRedirectChain(cacheKeys); } \
         230                 :   NS_SCRIPTABLE NS_IMETHOD HTTPUpgrade(const nsACString & aProtocolName, nsIHttpUpgradeListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->HTTPUpgrade(aProtocolName, aListener); } \
         231                 :   NS_SCRIPTABLE NS_IMETHOD GetAllowSpdy(bool *aAllowSpdy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllowSpdy(aAllowSpdy); } \
         232                 :   NS_SCRIPTABLE NS_IMETHOD SetAllowSpdy(bool aAllowSpdy) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAllowSpdy(aAllowSpdy); }
         233                 :
         234                 : #if 0
         235                 : /* Use the code below as a template for the implementation class for this interface. */
         236                 :
         237                 : /* Header file */
         238                 : class nsHttpChannelInternal : public nsIHttpChannelInternal
         239                 : {
         240                 : public:
         241                 :   NS_DECL_ISUPPORTS
         242                 :   NS_DECL_NSIHTTPCHANNELINTERNAL
         243                 :
         244                 :   nsHttpChannelInternal();
         245                 :
         246                 : private:
         247                 :   ~nsHttpChannelInternal();
         248                 :
         249                 : protected:
         250                 :   /* additional members */
         251                 : };
         252                 :
         253                 : /* Implementation file */
         254                 : NS_IMPL_ISUPPORTS1(nsHttpChannelInternal, nsIHttpChannelInternal)
         255                 :
         256                 : nsHttpChannelInternal::nsHttpChannelInternal()
         257                 : {
         258                 :   /* member initializers and constructor code */
         259                 : }
         260                 :
         261                 : nsHttpChannelInternal::~nsHttpChannelInternal()
         262                 : {
         263                 :   /* destructor code */
         264                 : }
         265                 :
         266                 : /* attribute nsIURI documentURI; */
         267                 : NS_IMETHODIMP nsHttpChannelInternal::GetDocumentURI(nsIURI * *aDocumentURI)
         268                 : {
         269                 :     return NS_ERROR_NOT_IMPLEMENTED;
         270                 : }
         271                 : NS_IMETHODIMP nsHttpChannelInternal::SetDocumentURI(nsIURI *aDocumentURI)
         272                 : {
         273                 :     return NS_ERROR_NOT_IMPLEMENTED;
         274                 : }
         275                 :
         276                 : /* void getRequestVersion (out unsigned long major, out unsigned long minor); */
         277                 : NS_IMETHODIMP nsHttpChannelInternal::GetRequestVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM)
         278                 : {
         279                 :     return NS_ERROR_NOT_IMPLEMENTED;
         280                 : }
         281                 :
         282                 : /* void getResponseVersion (out unsigned long major, out unsigned long minor); */
         283                 : NS_IMETHODIMP nsHttpChannelInternal::GetResponseVersion(PRUint32 *major NS_OUTPARAM, PRUint32 *minor NS_OUTPARAM)
         284                 : {
         285                 :     return NS_ERROR_NOT_IMPLEMENTED;
         286                 : }
         287                 :
         288                 : /* void setCookie (in string aCookieHeader); */
         289                 : NS_IMETHODIMP nsHttpChannelInternal::SetCookie(const char * aCookieHeader)
         290                 : {
         291                 :     return NS_ERROR_NOT_IMPLEMENTED;
         292                 : }
         293                 :
         294                 : /* void setupFallbackChannel (in string aFallbackKey); */
         295                 : NS_IMETHODIMP nsHttpChannelInternal::SetupFallbackChannel(const char * aFallbackKey)
         296                 : {
         297                 :     return NS_ERROR_NOT_IMPLEMENTED;
         298                 : }
         299                 :
         300                 : /* attribute boolean forceAllowThirdPartyCookie; */
         301                 : NS_IMETHODIMP nsHttpChannelInternal::GetForceAllowThirdPartyCookie(bool *aForceAllowThirdPartyCookie)
         302                 : {
         303                 :     return NS_ERROR_NOT_IMPLEMENTED;
         304                 : }
         305                 : NS_IMETHODIMP nsHttpChannelInternal::SetForceAllowThirdPartyCookie(bool aForceAllowThirdPartyCookie)
         306                 : {
         307                 :     return NS_ERROR_NOT_IMPLEMENTED;
         308                 : }
         309                 :
         310                 : /* readonly attribute boolean canceled; */
         311                 : NS_IMETHODIMP nsHttpChannelInternal::GetCanceled(bool *aCanceled)
         312                 : {
         313                 :     return NS_ERROR_NOT_IMPLEMENTED;
         314                 : }
         315                 :
         316                 : /* attribute boolean channelIsForDownload; */
         317                 : NS_IMETHODIMP nsHttpChannelInternal::GetChannelIsForDownload(bool *aChannelIsForDownload)
         318                 : {
         319                 :     return NS_ERROR_NOT_IMPLEMENTED;
         320                 : }
         321                 : NS_IMETHODIMP nsHttpChannelInternal::SetChannelIsForDownload(bool aChannelIsForDownload)
         322                 : {
         323                 :     return NS_ERROR_NOT_IMPLEMENTED;
         324                 : }
         325                 :
         326                 : /* readonly attribute AUTF8String localAddress; */
         327                 : NS_IMETHODIMP nsHttpChannelInternal::GetLocalAddress(nsACString & aLocalAddress)
         328                 : {
         329                 :     return NS_ERROR_NOT_IMPLEMENTED;
         330                 : }
         331                 :
         332                 : /* readonly attribute PRInt32 localPort; */
         333                 : NS_IMETHODIMP nsHttpChannelInternal::GetLocalPort(PRInt32 *aLocalPort)
         334                 : {
         335                 :     return NS_ERROR_NOT_IMPLEMENTED;
         336                 : }
         337                 :
         338                 : /* readonly attribute AUTF8String remoteAddress; */
         339                 : NS_IMETHODIMP nsHttpChannelInternal::GetRemoteAddress(nsACString & aRemoteAddress)
         340                 : {
         341                 :     return NS_ERROR_NOT_IMPLEMENTED;
         342                 : }
         343                 :
         344                 : /* readonly attribute PRInt32 remotePort; */
         345                 : NS_IMETHODIMP nsHttpChannelInternal::GetRemotePort(PRInt32 *aRemotePort)
         346                 : {
         347                 :     return NS_ERROR_NOT_IMPLEMENTED;
         348                 : }
         349                 :
         350                 : /* [noscript] void setCacheKeysRedirectChain (in StringArray cacheKeys); */
         351                 : NS_IMETHODIMP nsHttpChannelInternal::SetCacheKeysRedirectChain(nsTArray<nsCString> *cacheKeys)
         352                 : {
         353                 :     return NS_ERROR_NOT_IMPLEMENTED;
         354                 : }
         355                 :
         356                 : /* void HTTPUpgrade (in ACString aProtocolName, in nsIHttpUpgradeListener aListener); */
         357                 : NS_IMETHODIMP nsHttpChannelInternal::HTTPUpgrade(const nsACString & aProtocolName, nsIHttpUpgradeListener *aListener)
         358                 : {
         359                 :     return NS_ERROR_NOT_IMPLEMENTED;
         360                 : }
         361                 :
         362                 : /* attribute boolean allowSpdy; */
         363                 : NS_IMETHODIMP nsHttpChannelInternal::GetAllowSpdy(bool *aAllowSpdy)
         364                 : {
         365                 :     return NS_ERROR_NOT_IMPLEMENTED;
         366                 : }
         367                 : NS_IMETHODIMP nsHttpChannelInternal::SetAllowSpdy(bool aAllowSpdy)
         368                 : {
         369                 :     return NS_ERROR_NOT_IMPLEMENTED;
         370                 : }
         371                 :
         372                 : /* End of implementation class template. */
         373                 : #endif
         374                 :
         375                 :
         376                 : #endif /* __gen_nsIHttpChannelInternal_h__ */

Generated by: LCOV version 1.7