Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 // A toy client, which connects to a specified port and sends QUIC | |
|
ramant (doing other things)
2015/03/20 17:46:56
nit: Consider either updating/deleting the comment
Ryan Hamilton
2015/03/20 21:38:48
Good point! Done.
| |
| 6 // request to that endpoint. | |
| 7 | |
| 8 #ifndef NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_ | |
| 9 #define NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_ | |
| 10 | |
| 11 #include "net/base/address_list.h" | |
| 12 #include "net/base/net_export.h" | |
| 13 #include "net/dns/host_resolver.h" | |
| 14 | |
| 15 namespace net { | |
| 16 | |
| 17 namespace tools { | |
| 18 | |
| 19 class NET_EXPORT_PRIVATE SynchronousHostResolver { | |
| 20 public: | |
| 21 static int Resolve(const std::string& host, AddressList* addresses); | |
| 22 }; | |
| 23 | |
| 24 } // namespace tools | |
| 25 } // namespace net | |
| 26 | |
| 27 #endif // NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_ | |
| OLD | NEW |