зеркало из https://github.com/mozilla/gecko-dev.git
adding accessor for nsIPrompt member variable. bugs 25684,28594. r=gagan@netscape.com
This commit is contained in:
Родитель
4fbf85cbc5
Коммит
d1432bb1bc
|
@ -28,6 +28,7 @@ interface nsISimpleEnumerator;
|
||||||
interface nsIAtom;
|
interface nsIAtom;
|
||||||
interface nsIInputStream;
|
interface nsIInputStream;
|
||||||
interface nsIURI;
|
interface nsIURI;
|
||||||
|
interface nsIPrompt;
|
||||||
|
|
||||||
[scriptable, uuid(35c00430-1938-11d3-933a-000064657374)]
|
[scriptable, uuid(35c00430-1938-11d3-933a-000064657374)]
|
||||||
interface nsIHTTPChannel : nsIChannel
|
interface nsIHTTPChannel : nsIChannel
|
||||||
|
@ -83,12 +84,14 @@ interface nsIHTTPChannel : nsIChannel
|
||||||
|
|
||||||
readonly attribute nsIStreamListener ResponseDataListener;
|
readonly attribute nsIStreamListener ResponseDataListener;
|
||||||
|
|
||||||
readonly attribute string Charset;
|
readonly attribute string Charset;
|
||||||
|
|
||||||
attribute PRBool AuthTriedWithPrehost;
|
attribute PRBool AuthTriedWithPrehost;
|
||||||
|
|
||||||
readonly attribute PRBool UsingProxy;
|
readonly attribute PRBool UsingProxy;
|
||||||
|
|
||||||
|
readonly attribute nsIPrompt prompter;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This string if set is used for forming the final request. So if you
|
This string if set is used for forming the final request. So if you
|
||||||
call SetProxyRequestURI(foo) on an HTTP Channel, the outbound
|
call SetProxyRequestURI(foo) on an HTTP Channel, the outbound
|
||||||
|
|
|
@ -2328,6 +2328,15 @@ nsHTTPChannel::GetUsingProxy(PRBool *aUsingProxy)
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NS_IMETHODIMP
|
||||||
|
nsHTTPChannel::GetPrompter(nsIPrompt **aPrompter) {
|
||||||
|
|
||||||
|
if (!aPrompter)
|
||||||
|
return NS_ERROR_NULL_POINTER;
|
||||||
|
*aPrompter = mPrompter;
|
||||||
|
NS_IF_ADDREF(*aPrompter);
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHTTPChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
|
nsHTTPChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче