Bug 1807268 - Re-enable verifyShowClipboardSuggestionsToggleTest UI test r=jajohnson
[gecko.git] / netwerk / dns / PDNSRequestParams.ipdlh
blobde15e91a59eb2556165a2f526c62c3b2f9d3b4f1
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 : */
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/. */
8 using mozilla::net::NetAddr from "mozilla/net/DNS.h";
9 using mozilla::net::IPCTypeRecord from "mozilla/net/DNSByTypeRecord.h";
10 using nsIRequest::TRRMode from "nsIRequest.h";
12 namespace mozilla {
13 namespace net {
15 //-----------------------------------------------------------------------------
16 // DNS IPDL structs
17 //-----------------------------------------------------------------------------
19 struct DNSRecord
21   nsCString canonicalName;
22   NetAddr[] addrs;
23   double trrFetchDuration;
24   double trrFetchDurationNetworkOnly;
25   bool isTRR;
26   TRRMode effectiveTRRMode;
27   uint32_t ttl;
30 union DNSRequestResponse
32   DNSRecord;
33   IPCTypeRecord; // The result of a by-type query
34   nsresult;   // if error
38 } // namespace ipc
39 } // namespace mozilla