Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: net/tools/quic/synchronous_host_resolver.h

Issue 1004173004: Make the simple QUIC client able to resolve hosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix old quic_client too Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698