| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ | 5 #ifndef NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ |
| 6 #define NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ | 6 #define NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
| 18 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
| 19 #include "net/proxy/dhcp_proxy_script_fetcher.h" | 19 #include "net/proxy/dhcp_proxy_script_fetcher.h" |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class SequencedWorkerPool; | 22 class SequencedWorkerPool; |
| 23 class TaskRunner; | |
| 24 } | 23 } |
| 25 | 24 |
| 26 namespace net { | 25 namespace net { |
| 27 | 26 |
| 28 class DhcpProxyScriptAdapterFetcher; | 27 class DhcpProxyScriptAdapterFetcher; |
| 29 class URLRequestContext; | 28 class URLRequestContext; |
| 30 | 29 |
| 31 // Windows-specific implementation. | 30 // Windows-specific implementation. |
| 32 class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin | 31 class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin |
| 33 : public DhcpProxyScriptFetcher, | 32 : public DhcpProxyScriptFetcher, |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 174 |
| 176 // Worker pool we use for all DHCP lookup tasks. | 175 // Worker pool we use for all DHCP lookup tasks. |
| 177 scoped_refptr<base::SequencedWorkerPool> worker_pool_; | 176 scoped_refptr<base::SequencedWorkerPool> worker_pool_; |
| 178 | 177 |
| 179 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptFetcherWin); | 178 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptFetcherWin); |
| 180 }; | 179 }; |
| 181 | 180 |
| 182 } // namespace net | 181 } // namespace net |
| 183 | 182 |
| 184 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ | 183 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ |
| OLD | NEW |