| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 // Pointer to string we will write results to. Not valid in states | 148 // Pointer to string we will write results to. Not valid in states |
| 149 // START and DONE. | 149 // START and DONE. |
| 150 string16* destination_string_; | 150 string16* destination_string_; |
| 151 | 151 |
| 152 // PAC URL retrieved from DHCP, if any. Valid only in state STATE_DONE. | 152 // PAC URL retrieved from DHCP, if any. Valid only in state STATE_DONE. |
| 153 GURL pac_url_; | 153 GURL pac_url_; |
| 154 | 154 |
| 155 base::OneShotTimer<DhcpProxyScriptFetcherWin> wait_timer_; | 155 base::OneShotTimer<DhcpProxyScriptFetcherWin> wait_timer_; |
| 156 | 156 |
| 157 scoped_refptr<URLRequestContext> url_request_context_; | 157 URLRequestContext* const url_request_context_; |
| 158 | 158 |
| 159 // NULL or the AdapterQuery currently in flight. | 159 // NULL or the AdapterQuery currently in flight. |
| 160 scoped_refptr<AdapterQuery> last_query_; | 160 scoped_refptr<AdapterQuery> last_query_; |
| 161 | 161 |
| 162 // Time |Fetch()| was last called, 0 if never. | 162 // Time |Fetch()| was last called, 0 if never. |
| 163 base::TimeTicks fetch_start_time_; | 163 base::TimeTicks fetch_start_time_; |
| 164 | 164 |
| 165 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptFetcherWin); | 165 DISALLOW_IMPLICIT_CONSTRUCTORS(DhcpProxyScriptFetcherWin); |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 } // namespace net | 168 } // namespace net |
| 169 | 169 |
| 170 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ | 170 #endif // NET_PROXY_DHCP_PROXY_SCRIPT_FETCHER_WIN_H_ |
| OLD | NEW |