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

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

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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_SERVICE_H_ 5 #ifndef NET_PROXY_PROXY_SERVICE_H_
6 #define NET_PROXY_PROXY_SERVICE_H_ 6 #define NET_PROXY_PROXY_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // ResolveProxy calls. ProxyService takes ownership of 203 // ResolveProxy calls. ProxyService takes ownership of
204 // |new_proxy_config_service|. 204 // |new_proxy_config_service|.
205 void ResetConfigService(ProxyConfigService* new_proxy_config_service); 205 void ResetConfigService(ProxyConfigService* new_proxy_config_service);
206 206
207 // Returns the last configuration fetched from ProxyConfigService. 207 // Returns the last configuration fetched from ProxyConfigService.
208 const ProxyConfig& fetched_config() { 208 const ProxyConfig& fetched_config() {
209 return fetched_config_; 209 return fetched_config_;
210 } 210 }
211 211
212 // Returns the current configuration being used by ProxyConfigService. 212 // Returns the current configuration being used by ProxyConfigService.
213 const ProxyConfig& config() { 213 const ProxyConfig& config() const {
214 return config_; 214 return config_;
215 } 215 }
216 216
217 // Returns the map of proxies which have been marked as "bad". 217 // Returns the map of proxies which have been marked as "bad".
218 const ProxyRetryInfoMap& proxy_retry_info() const { 218 const ProxyRetryInfoMap& proxy_retry_info() const {
219 return proxy_retry_info_; 219 return proxy_retry_info_;
220 } 220 }
221 221
222 // Clears the list of bad proxy servers that has been cached. 222 // Clears the list of bad proxy servers that has been cached.
223 void ClearBadProxiesCache() { 223 void ClearBadProxiesCache() {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 447
448 // Whether child ProxyScriptDeciders should use QuickCheck 448 // Whether child ProxyScriptDeciders should use QuickCheck
449 bool quick_check_enabled_; 449 bool quick_check_enabled_;
450 450
451 DISALLOW_COPY_AND_ASSIGN(ProxyService); 451 DISALLOW_COPY_AND_ASSIGN(ProxyService);
452 }; 452 };
453 453
454 } // namespace net 454 } // namespace net
455 455
456 #endif // NET_PROXY_PROXY_SERVICE_H_ 456 #endif // NET_PROXY_PROXY_SERVICE_H_
OLDNEW
« no previous file with comments | « net/http/transport_security_state_static.json ('k') | net/quic/congestion_control/tcp_cubic_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698