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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/proxy_info_unittest.cc ('k') | net/proxy/proxy_script_decider.cc » ('j') | 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) 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_PROXY_SCRIPT_DECIDER_H_ 5 #ifndef NET_PROXY_PROXY_SCRIPT_DECIDER_H_
6 #define NET_PROXY_PROXY_SCRIPT_DECIDER_H_ 6 #define NET_PROXY_PROXY_SCRIPT_DECIDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 void DetermineURL(const PacSource& pac_source, GURL* effective_pac_url); 154 void DetermineURL(const PacSource& pac_source, GURL* effective_pac_url);
155 155
156 // Returns the current PAC URL we are fetching/testing. 156 // Returns the current PAC URL we are fetching/testing.
157 const PacSource& current_pac_source() const; 157 const PacSource& current_pac_source() const;
158 158
159 void OnWaitTimerFired(); 159 void OnWaitTimerFired();
160 void DidComplete(); 160 void DidComplete();
161 void Cancel(); 161 void Cancel();
162 162
163 ProxyResolver* resolver_;
164 ProxyScriptFetcher* proxy_script_fetcher_; 163 ProxyScriptFetcher* proxy_script_fetcher_;
165 DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher_; 164 DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher_;
166 165
167 net::CompletionCallback callback_; 166 net::CompletionCallback callback_;
168 167
169 size_t current_pac_source_index_; 168 size_t current_pac_source_index_;
170 169
171 // Filled when the PAC script fetch completes. 170 // Filled when the PAC script fetch completes.
172 base::string16 pac_script_; 171 base::string16 pac_script_;
173 172
(...skipping 25 matching lines...) Expand all
199 base::OneShotTimer<ProxyScriptDecider> quick_check_timer_; 198 base::OneShotTimer<ProxyScriptDecider> quick_check_timer_;
200 scoped_ptr<SingleRequestHostResolver> host_resolver_; 199 scoped_ptr<SingleRequestHostResolver> host_resolver_;
201 base::Time quick_check_start_time_; 200 base::Time quick_check_start_time_;
202 201
203 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider); 202 DISALLOW_COPY_AND_ASSIGN(ProxyScriptDecider);
204 }; 203 };
205 204
206 } // namespace net 205 } // namespace net
207 206
208 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_ 207 #endif // NET_PROXY_PROXY_SCRIPT_DECIDER_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_info_unittest.cc ('k') | net/proxy/proxy_script_decider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698