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