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 // WARNING! Do NOT use this mojom. It is intended as a temporary interface to | 5 // WARNING! Do NOT use this mojom. It is intended as a temporary interface to |
6 // implement out-of-process proxy resolution. If you wish to use a Mojo DNS | 6 // implement out-of-process proxy resolution. If you wish to use a Mojo DNS |
7 // service, contact amistry@/sammc@ and net-dev to discuss a permanent Mojo DNS | 7 // service, contact amistry@/sammc@ and net-dev to discuss a permanent Mojo DNS |
8 // interface. | 8 // interface. |
9 | 9 |
10 // Put Mojo definitions into their own namespace to avoid collisions with C++ | 10 // Put Mojo definitions into their own namespace to avoid collisions with C++ |
(...skipping 24 matching lines...) Expand all Loading... |
35 uint16 port; | 35 uint16 port; |
36 }; | 36 }; |
37 | 37 |
38 // Mirror of net::AddressList. | 38 // Mirror of net::AddressList. |
39 struct AddressList { | 39 struct AddressList { |
40 array<IPEndPoint> addresses; | 40 array<IPEndPoint> addresses; |
41 }; | 41 }; |
42 | 42 |
43 interface HostResolverRequestClient { | 43 interface HostResolverRequestClient { |
44 // |error| is a value in net::Error. | 44 // |error| is a value in net::Error. |
45 ReportResult(int32 error, AddressList? result); | 45 ReportResult(int32 error, AddressList result); |
46 }; | 46 }; |
OLD | NEW |