1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
6 using DOMHighResTimeStamp from "nsDOMNavigationTiming.h";
11 struct IPCServerTiming {
14 nsCString description;
17 struct IPCPerformanceTimingData {
18 IPCServerTiming[] serverTiming;
19 nsString nextHopProtocol;
21 TimeStamp redirectStart;
22 TimeStamp redirectEnd;
23 TimeStamp domainLookupStart;
24 TimeStamp domainLookupEnd;
25 TimeStamp connectStart;
26 TimeStamp secureConnectionStart;
28 TimeStamp requestStart;
29 TimeStamp responseStart;
30 TimeStamp cacheReadStart;
31 TimeStamp responseEnd;
32 TimeStamp cacheReadEnd;
33 TimeStamp workerStart;
34 TimeStamp workerRequestStart;
35 TimeStamp workerResponseEnd;
36 DOMHighResTimeStamp zeroTime;
37 DOMHighResTimeStamp fetchStart;
38 uint64_t encodedBodySize;
39 uint64_t transferSize;
40 uint64_t decodedBodySize;
41 uint8_t redirectCount;
42 bool allRedirectsSameOrigin;
43 bool allRedirectsPassTAO;
44 bool secureConnection;