HttpChannelParams.ipdlh (2199B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */ 3 4 /* This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 7 8 9 include IPCServiceWorkerDescriptor; 10 include NeckoChannelParams; 11 include IPCStream; 12 13 include "mozilla/dom/ReferrerInfoUtils.h"; 14 include "mozilla/ipc/TransportSecurityInfoUtils.h"; 15 include "mozilla/net/NeckoMessageUtils.h"; 16 17 using mozilla::net::NetAddr from "mozilla/net/DNS.h"; 18 using nsILoadInfo::CrossOriginOpenerPolicy from "nsILoadInfo.h"; 19 [RefCounted] using class nsIReferrerInfo from "nsIReferrerInfo.h"; 20 [RefCounted] using class nsITransportSecurityInfo from "nsITransportSecurityInfo.h"; 21 using nsIRequest::TRRMode from "nsIRequest.h"; 22 using mozilla::net::TRRSkippedReason from "nsITRRSkipReason.h"; 23 using nsICacheInfoChannel::CacheDisposition from "nsICacheInfoChannel.h"; 24 25 namespace mozilla { 26 namespace net { 27 28 struct HttpChannelOnStartRequestArgs 29 { 30 nullable nsITransportSecurityInfo securityInfo; 31 nullable nsIReferrerInfo overrideReferrerInfo; 32 uint64_t cacheEntryId; 33 int64_t altDataLength; 34 nsCString altDataType; 35 CookieChange[] cookieChanges; 36 NetAddr selfAddr; 37 NetAddr peerAddr; 38 ResourceTimingStructArgs timing; 39 ParentLoadInfoForwarderArgs loadInfoForwarder; 40 nsresult channelStatus; 41 TRRMode effectiveTRRMode; 42 TRRSkippedReason trrSkipReason; 43 uint32_t cacheFetchCount; 44 uint32_t cacheExpirationTime; 45 uint32_t cacheKey; 46 uint32_t? multiPartID; 47 bool isFromCache; 48 bool isRacing; 49 bool cacheEntryAvailable; 50 bool deliveringAltData; 51 bool applyConversion; 52 bool isResolvedByTRR; 53 bool allRedirectsSameOrigin; 54 bool isFirstPartOfMultiPart; 55 bool isLastPartOfMultiPart; 56 CrossOriginOpenerPolicy openerPolicy; 57 bool shouldWaitForOnStartRequestSent; 58 bool dataFromSocketProcess; 59 bool hasHTTPSRR; 60 bool isProxyUsed; 61 uint8_t redirectCount; 62 nsCString protocolVersion; 63 CacheDisposition cacheDisposition; 64 }; 65 66 struct HttpChannelAltDataStream 67 { 68 IPCStream? altDataInputStream; 69 }; 70 71 } // namespace ipc 72 } // namespace mozilla