Bug 1887677: Correctly compute inClass predicate when validating unbound private...
[gecko.git] / netwerk / dns / PDNSRequest.ipdl
blob0613ff67b46c3a5554534167efaee24fd0f0a59d
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 include protocol PNecko;
9 include protocol PSocketProcess;
11 include PDNSRequestParams;
13 include "mozilla/net/NeckoMessageUtils.h";
15 using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
16 using nsIDNSService::DNSFlags from "nsIDNSService.h";
18 namespace mozilla {
19 namespace net {
21 async protocol PDNSRequest
23   manager PNecko or PSocketProcess;
25 both:
26   // constructor in PNecko takes AsyncResolve args that initialize request
28   // Pass args here rather than storing them in the parent; they are only
29   // needed if the request is to be canceled.
30   async CancelDNSRequest(nsCString hostName, nsCString trrServer, int32_t port,
31                          uint16_t type, OriginAttributes originAttributes,
32                          DNSFlags flags, nsresult reason);
33   async __delete__();
35   async LookupCompleted(DNSRequestResponse reply);
39 } //namespace net
40 } //namespace mozilla