Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: net/proxy/dhcp_proxy_script_fetcher_win.h

Issue 10024019: Remove unnecessary references to URLRequestContext. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher_factory.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « net/proxy/dhcp_proxy_script_fetcher_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698