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_ADAPTER_FETCHER_WIN_H_ | 5 #ifndef NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ |
6 #define NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ | 6 #define NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 GURL pac_url_; | 171 GURL pac_url_; |
172 | 172 |
173 // Callback to let our client know we're done. Invalid in states | 173 // Callback to let our client know we're done. Invalid in states |
174 // START, FINISH and CANCEL. | 174 // START, FINISH and CANCEL. |
175 CompletionCallback callback_; | 175 CompletionCallback callback_; |
176 | 176 |
177 // Fetcher to retrieve PAC files once URL is known. | 177 // Fetcher to retrieve PAC files once URL is known. |
178 scoped_ptr<ProxyScriptFetcher> script_fetcher_; | 178 scoped_ptr<ProxyScriptFetcher> script_fetcher_; |
179 | 179 |
180 // Implements a timeout on the call to the Win32 DHCP API. | 180 // Implements a timeout on the call to the Win32 DHCP API. |
181 base::OneShotTimer<DhcpProxyScriptAdapterFetcher> wait_timer_; | 181 base::OneShotTimer wait_timer_; |
182 | 182 |
183 URLRequestContext* const url_request_context_; | 183 URLRequestContext* const url_request_context_; |
184 | 184 |
185 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptAdapterFetcher); | 185 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptAdapterFetcher); |
186 }; | 186 }; |
187 | 187 |
188 } // namespace net | 188 } // namespace net |
189 | 189 |
190 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ | 190 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ |
OLD | NEW |