OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 [DartPackage="mojo_services"] | |
6 module mojo; | |
7 | |
8 import "mojo/public/interfaces/network/network_error.mojom"; | |
9 import "network/public/interfaces/net_address.mojom"; | |
10 | |
11 interface HostResolver { | |
12 // Get the list of IP addresses for host. | |
13 GetHostAddresses(string host, NetAddressFamily family) => | |
14 (NetworkError result, array<NetAddress>? addresses); | |
15 }; | |
OLD | NEW |