/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
class BackgroundDataBridgeParent; class InputChannelThrottleQueueChild; class nsHttpConnectionInfo; class nsHttpTransaction; class nsProxyInfo;
//----------------------------------------------------------------------------- // HttpTransactionChild commutes between parent process and socket process, // manages the real nsHttpTransaction and transaction pump. //----------------------------------------------------------------------------- class HttpTransactionChild final : public PHttpTransactionChild, public nsITransportEventSink, public nsIThrottledInputChannel, public nsIThreadRetargetableStreamListener, public nsIEarlyHintObserver { public:
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIREQUESTOBSERVER
NS_DECL_NSISTREAMLISTENER
NS_DECL_NSITRANSPORTEVENTSINK
NS_DECL_NSITHROTTLEDINPUTCHANNEL
NS_DECL_NSITHREADRETARGETABLESTREAMLISTENER
NS_DECL_NSIEARLYHINTOBSERVER
// Use Release-Acquire ordering to ensure the OMT ODA is ignored while // transaction is canceled on main thread.
Atomic<bool, ReleaseAcquire> mCanceled{false};
Atomic<nsresult, ReleaseAcquire> mStatus{NS_OK};
uint64_t mChannelId{0};
nsHttpRequestHead mRequestHead; bool mIsDocumentLoad{false};
uint64_t mLogicalOffset{0};
TimeStamp mRedirectStart;
TimeStamp mRedirectEnd;
nsCString mProtocolVersion;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.