| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chromeos/network/host_resolver_impl_chromeos.h" | 5 #include "chromeos/network/host_resolver_impl_chromeos.h" |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/macros.h" |
| 8 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
| 9 #include "base/sys_info.h" | 10 #include "base/sys_info.h" |
| 10 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
| 11 #include "base/values.h" | 12 #include "base/values.h" |
| 12 #include "chromeos/network/device_state.h" | 13 #include "chromeos/network/device_state.h" |
| 13 #include "chromeos/network/network_handler.h" | 14 #include "chromeos/network/network_handler.h" |
| 14 #include "chromeos/network/network_state.h" | 15 #include "chromeos/network/network_state.h" |
| 15 #include "chromeos/network/network_state_handler.h" | 16 #include "chromeos/network/network_state_handler.h" |
| 16 #include "chromeos/network/network_state_handler_observer.h" | 17 #include "chromeos/network/network_state_handler_observer.h" |
| 17 #include "net/base/address_list.h" | 18 #include "net/base/address_list.h" |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 scoped_ptr<net::HostResolver> | 201 scoped_ptr<net::HostResolver> |
| 201 HostResolverImplChromeOS::CreateHostResolverForTest( | 202 HostResolverImplChromeOS::CreateHostResolverForTest( |
| 202 scoped_refptr<base::SingleThreadTaskRunner> network_handler_task_runner, | 203 scoped_refptr<base::SingleThreadTaskRunner> network_handler_task_runner, |
| 203 NetworkStateHandler* network_state_handler) { | 204 NetworkStateHandler* network_state_handler) { |
| 204 Options options; | 205 Options options; |
| 205 return scoped_ptr<net::HostResolver>(new HostResolverImplChromeOS( | 206 return scoped_ptr<net::HostResolver>(new HostResolverImplChromeOS( |
| 206 network_handler_task_runner, network_state_handler, options, NULL)); | 207 network_handler_task_runner, network_state_handler, options, NULL)); |
| 207 } | 208 } |
| 208 | 209 |
| 209 } // namespace chromeos | 210 } // namespace chromeos |
| OLD | NEW |