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; |
23 } | 24 } |
24 | 25 |
25 namespace net { | 26 namespace net { |
26 | 27 |
27 class DhcpProxyScriptAdapterFetcher; | 28 class DhcpProxyScriptAdapterFetcher; |
28 class URLRequestContext; | 29 class URLRequestContext; |
29 | 30 |
30 // Windows-specific implementation. | 31 // Windows-specific implementation. |
31 class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin | 32 class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin |
32 : public DhcpProxyScriptFetcher, | 33 : public DhcpProxyScriptFetcher, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 175 |
175 // Worker pool we use for all DHCP lookup tasks. | 176 // Worker pool we use for all DHCP lookup tasks. |
176 scoped_refptr<base::SequencedWorkerPool> worker_pool_; | 177 scoped_refptr<base::SequencedWorkerPool> worker_pool_; |
177 | 178 |
178 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptFetcherWin); | 179 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptFetcherWin); |
179 }; | 180 }; |
180 | 181 |
181 } // namespace net | 182 } // namespace net |
182 | 183 |
183 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ | 184 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ |
OLD | NEW |