Source code
Revision control
Copy as Markdown
Other Tools
/* 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
using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
using DOMHighResTimeStamp from "nsDOMNavigationTiming.h";
using nsITimedChannel::BodyInfoAccess from "mozilla/dom/PerformanceTimingIPCUtils.h";
namespace mozilla {
namespace dom {
struct IPCServerTiming {
nsCString name;
double duration;
nsCString description;
};
struct IPCPerformanceTimingData {
IPCServerTiming[] serverTiming;
nsString nextHopProtocol;
TimeStamp asyncOpen;
TimeStamp redirectStart;
TimeStamp redirectEnd;
TimeStamp domainLookupStart;
TimeStamp domainLookupEnd;
TimeStamp connectStart;
TimeStamp secureConnectionStart;
TimeStamp connectEnd;
TimeStamp requestStart;
TimeStamp responseStart;
TimeStamp cacheReadStart;
TimeStamp responseEnd;
TimeStamp cacheReadEnd;
TimeStamp workerStart;
TimeStamp workerRequestStart;
TimeStamp workerResponseEnd;
DOMHighResTimeStamp zeroTime;
DOMHighResTimeStamp fetchStart;
uint64_t encodedBodySize;
uint64_t transferSize;
uint64_t decodedBodySize;
uint16_t responseStatus;
uint8_t redirectCount;
bool renderBlocking;
nsString contentType;
bool allRedirectsSameOrigin;
bool allRedirectsPassTAO;
bool secureConnection;
BodyInfoAccess bodyInfoAccessAllowed;
bool timingAllowed;
bool initialized;
};
}
}