Bug 1857841 - pt 3. Add a new page kind named "fresh" r=glandium
[gecko.git] / dom / performance / PerformanceTimingTypes.ipdlh
blobfbbdf4463650d46a7cb015e9c39beebd11bbcec9
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";
8 namespace mozilla {
9 namespace dom {
11 struct IPCServerTiming {
12   nsCString name;
13   double duration;
14   nsCString description;
17 struct IPCPerformanceTimingData {
18   IPCServerTiming[] serverTiming;
19   nsString nextHopProtocol;
20   TimeStamp asyncOpen;
21   TimeStamp redirectStart;
22   TimeStamp redirectEnd;
23   TimeStamp domainLookupStart;
24   TimeStamp domainLookupEnd;
25   TimeStamp connectStart;
26   TimeStamp secureConnectionStart;
27   TimeStamp connectEnd;
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;
45   bool timingAllowed;
46   bool initialized;