diff options
Diffstat (limited to 'net/proxy')
-rw-r--r-- | net/proxy/proxy_resolver_js_bindings.cc | 9 | ||||
-rw-r--r-- | net/proxy/proxy_resolver_js_bindings_unittest.cc | 9 |
2 files changed, 2 insertions, 16 deletions
diff --git a/net/proxy/proxy_resolver_js_bindings.cc b/net/proxy/proxy_resolver_js_bindings.cc index 1b01651..eb7e4f8 100644 --- a/net/proxy/proxy_resolver_js_bindings.cc +++ b/net/proxy/proxy_resolver_js_bindings.cc @@ -2,14 +2,6 @@ // source code is governed by a BSD-style license that can be found in the // LICENSE file. -#include "build/build_config.h" - -#if defined(OS_WIN) -#include <ws2tcpip.h> -#else -#include <netdb.h> -#endif - #include "net/proxy/proxy_resolver_js_bindings.h" #include "base/compiler_specific.h" @@ -20,6 +12,7 @@ #include "net/base/host_resolver.h" #include "net/base/net_errors.h" #include "net/base/net_util.h" +#include "net/base/sys_addrinfo.h" namespace net { namespace { diff --git a/net/proxy/proxy_resolver_js_bindings_unittest.cc b/net/proxy/proxy_resolver_js_bindings_unittest.cc index 1a36d3d..abea285 100644 --- a/net/proxy/proxy_resolver_js_bindings_unittest.cc +++ b/net/proxy/proxy_resolver_js_bindings_unittest.cc @@ -2,19 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "build/build_config.h" - -#if defined(OS_WIN) -#include <ws2tcpip.h> -#else -#include <netdb.h> -#endif - #include "base/scoped_ptr.h" #include "net/base/address_list.h" #include "net/base/mock_host_resolver.h" #include "net/base/net_errors.h" #include "net/base/net_util.h" +#include "net/base/sys_addrinfo.h" #include "net/proxy/proxy_resolver_js_bindings.h" #include "testing/gtest/include/gtest/gtest.h" |