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

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

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « net/tools/quic/quic_default_packet_writer.h ('k') | net/udp/datagram_client_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // A simple class for resolving hostname synchronously. 5 // A simple class for resolving hostname synchronously.
6 6
7 #ifndef NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_ 7 #ifndef NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_
8 #define NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_ 8 #define NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_
9 9
10 #include "net/base/address_list.h" 10 #include "net/base/address_list.h"
11 #include "net/base/net_export.h"
12 #include "net/dns/host_resolver.h" 11 #include "net/dns/host_resolver.h"
13 12
14 namespace net { 13 namespace net {
15 14
16 15
17 class SynchronousHostResolver { 16 class SynchronousHostResolver {
18 public: 17 public:
19 static int Resolve(const std::string& host, AddressList* addresses); 18 static int Resolve(const std::string& host, AddressList* addresses);
20 }; 19 };
21 20
22 } // namespace net 21 } // namespace net
23 22
24 #endif // NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_ 23 #endif // NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_default_packet_writer.h ('k') | net/udp/datagram_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698