Bug 1890277: part 4) Add CSPParser support for the `trusted-types` directive, guarded...
[gecko.git] / netwerk / dns / PNativeDNSResolverOverride.ipdl
bloba1cd4c9ff55228d8854b76fac481131af9271a9a
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 : */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 include protocol PSocketProcess;
9 namespace mozilla {
10 namespace net {
12 async protocol PNativeDNSResolverOverride
14   manager PSocketProcess;
16 child:
17   async __delete__();
18   async AddIPOverride(nsCString aHost, nsCString aIPLiteral);
19   async AddHTTPSRecordOverride(nsCString aHost, uint8_t[] aData);
20   async SetCnameOverride(nsCString aHost, nsCString aCNAME);
21   async ClearHostOverride(nsCString aHost);
22   async ClearOverrides();
25 } //namespace net
26 } //namespace mozilla