| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // Callback to let our client know we're done. Invalid in states | 160 // Callback to let our client know we're done. Invalid in states |
| 161 // START, FINISH and CANCEL. | 161 // START, FINISH and CANCEL. |
| 162 net::CompletionCallback callback_; | 162 net::CompletionCallback callback_; |
| 163 | 163 |
| 164 // Fetcher to retrieve PAC files once URL is known. | 164 // Fetcher to retrieve PAC files once URL is known. |
| 165 scoped_ptr<ProxyScriptFetcher> script_fetcher_; | 165 scoped_ptr<ProxyScriptFetcher> script_fetcher_; |
| 166 | 166 |
| 167 // Implements a timeout on the call to the Win32 DHCP API. | 167 // Implements a timeout on the call to the Win32 DHCP API. |
| 168 base::OneShotTimer<DhcpProxyScriptAdapterFetcher> wait_timer_; | 168 base::OneShotTimer<DhcpProxyScriptAdapterFetcher> wait_timer_; |
| 169 | 169 |
| 170 scoped_refptr<URLRequestContext> url_request_context_; | 170 URLRequestContext* const url_request_context_; |
| 171 | 171 |
| 172 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptAdapterFetcher); | 172 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptAdapterFetcher); |
| 173 }; | 173 }; |
| 174 | 174 |
| 175 } // namespace net | 175 } // namespace net |
| 176 | 176 |
| 177 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ | 177 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_ADAPTER_FETCHER_WIN_H_ |
| OLD | NEW |