Loading netwerk/protocol/http/HttpBaseChannel.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -1233,13 +1233,6 @@ NS_IMETHODIMP HttpBaseChannel::SetTopLevelContentWindowId(uint64_t aWindowId) return NS_OK; } NS_IMETHODIMP HttpBaseChannel::IsPendingUnforced(bool *aIsPendingUnforced) { NS_ENSURE_ARG_POINTER(aIsPendingUnforced); *aIsPendingUnforced = mIsPending; return NS_OK; } NS_IMETHODIMP HttpBaseChannel::GetTransferSize(uint64_t *aTransferSize) { Loading netwerk/protocol/http/HttpBaseChannel.h +0 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,6 @@ public: NS_IMETHOD SetChannelId(const nsACString& aChannelId) override; NS_IMETHOD GetTopLevelContentWindowId(uint64_t *aContentWindowId) override; NS_IMETHOD SetTopLevelContentWindowId(uint64_t aContentWindowId) override; NS_IMETHOD IsPendingUnforced(bool *aIsPendingUnforced) override; // nsIHttpChannelInternal NS_IMETHOD GetDocumentURI(nsIURI **aDocumentURI) override; Loading netwerk/protocol/http/NullHttpChannel.cpp +0 −6 Original line number Diff line number Diff line Loading @@ -81,12 +81,6 @@ NullHttpChannel::SetTopLevelContentWindowId(uint64_t aWindowId) return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP NullHttpChannel::IsPendingUnforced(bool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP NullHttpChannel::GetTransferSize(uint64_t *aTransferSize) { Loading netwerk/protocol/http/nsIHttpChannel.idl +1 −8 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ interface nsIHttpHeaderVisitor; * the inspection of the resulting HTTP response status and headers when they * become available. */ [builtinclass, scriptable, uuid(e0d8071b-5389-48c2-92c7-6708c968044d)] [builtinclass, scriptable, uuid(c5a4a073-4539-49c7-a3f2-cec3f0619c6c)] interface nsIHttpChannel : nsIChannel { /************************************************************************** Loading Loading @@ -469,11 +469,4 @@ interface nsIHttpChannel : nsIChannel * this channels is being load in. */ attribute uint64_t topLevelContentWindowId; /** * Returns true if a request is pending due to "natural" causes and * not just because ForcePending() has been called. See isPending() * in nsIRequest.idl for more details about pending requests. */ boolean isPendingUnforced(); }; netwerk/protocol/viewsource/nsViewSourceChannel.cpp +0 −11 Original line number Diff line number Diff line Loading @@ -739,17 +739,6 @@ nsViewSourceChannel::SetTopLevelContentWindowId(uint64_t aWindowId) mHttpChannel->SetTopLevelContentWindowId(aWindowId); } NS_IMETHODIMP nsViewSourceChannel::IsPendingUnforced(bool *result) { if (mHttpChannel) { return mHttpChannel->IsPendingUnforced(result); } NS_ENSURE_TRUE(mChannel, NS_ERROR_FAILURE); return mChannel->IsPending(result); } NS_IMETHODIMP nsViewSourceChannel::GetRequestMethod(nsACString & aRequestMethod) { Loading Loading
netwerk/protocol/http/HttpBaseChannel.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -1233,13 +1233,6 @@ NS_IMETHODIMP HttpBaseChannel::SetTopLevelContentWindowId(uint64_t aWindowId) return NS_OK; } NS_IMETHODIMP HttpBaseChannel::IsPendingUnforced(bool *aIsPendingUnforced) { NS_ENSURE_ARG_POINTER(aIsPendingUnforced); *aIsPendingUnforced = mIsPending; return NS_OK; } NS_IMETHODIMP HttpBaseChannel::GetTransferSize(uint64_t *aTransferSize) { Loading
netwerk/protocol/http/HttpBaseChannel.h +0 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,6 @@ public: NS_IMETHOD SetChannelId(const nsACString& aChannelId) override; NS_IMETHOD GetTopLevelContentWindowId(uint64_t *aContentWindowId) override; NS_IMETHOD SetTopLevelContentWindowId(uint64_t aContentWindowId) override; NS_IMETHOD IsPendingUnforced(bool *aIsPendingUnforced) override; // nsIHttpChannelInternal NS_IMETHOD GetDocumentURI(nsIURI **aDocumentURI) override; Loading
netwerk/protocol/http/NullHttpChannel.cpp +0 −6 Original line number Diff line number Diff line Loading @@ -81,12 +81,6 @@ NullHttpChannel::SetTopLevelContentWindowId(uint64_t aWindowId) return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP NullHttpChannel::IsPendingUnforced(bool *_retval) { return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP NullHttpChannel::GetTransferSize(uint64_t *aTransferSize) { Loading
netwerk/protocol/http/nsIHttpChannel.idl +1 −8 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ interface nsIHttpHeaderVisitor; * the inspection of the resulting HTTP response status and headers when they * become available. */ [builtinclass, scriptable, uuid(e0d8071b-5389-48c2-92c7-6708c968044d)] [builtinclass, scriptable, uuid(c5a4a073-4539-49c7-a3f2-cec3f0619c6c)] interface nsIHttpChannel : nsIChannel { /************************************************************************** Loading Loading @@ -469,11 +469,4 @@ interface nsIHttpChannel : nsIChannel * this channels is being load in. */ attribute uint64_t topLevelContentWindowId; /** * Returns true if a request is pending due to "natural" causes and * not just because ForcePending() has been called. See isPending() * in nsIRequest.idl for more details about pending requests. */ boolean isPendingUnforced(); };
netwerk/protocol/viewsource/nsViewSourceChannel.cpp +0 −11 Original line number Diff line number Diff line Loading @@ -739,17 +739,6 @@ nsViewSourceChannel::SetTopLevelContentWindowId(uint64_t aWindowId) mHttpChannel->SetTopLevelContentWindowId(aWindowId); } NS_IMETHODIMP nsViewSourceChannel::IsPendingUnforced(bool *result) { if (mHttpChannel) { return mHttpChannel->IsPendingUnforced(result); } NS_ENSURE_TRUE(mChannel, NS_ERROR_FAILURE); return mChannel->IsPending(result); } NS_IMETHODIMP nsViewSourceChannel::GetRequestMethod(nsACString & aRequestMethod) { Loading