Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / net / tools / quic / synchronous_host_resolver.h
blob258c8e4dedc9f93e8950091e3363b7c235d93bcf
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
3 // found in the LICENSE file.
4 //
5 // A simple class for resolving hostname synchronously.
7 #ifndef NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_
8 #define NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_
10 #include "net/base/address_list.h"
11 #include "net/base/net_export.h"
12 #include "net/dns/host_resolver.h"
14 namespace net {
16 namespace tools {
18 class SynchronousHostResolver {
19 public:
20 static int Resolve(const std::string& host, AddressList* addresses);
23 } // namespace tools
24 } // namespace net
26 #endif // NET_TOOLS_QUIC_SYNCHRONOUS_HOST_RESOLVER_H_