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

Unified Diff: net/proxy/proxy_info.cc

Issue 502068: Remove the implicit fallback to DIRECT when proxies fail. This better matches... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix a comment typo Created 10 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: net/proxy/proxy_info.cc
===================================================================
--- net/proxy/proxy_info.cc (revision 35522)
+++ net/proxy/proxy_info.cc (working copy)
@@ -6,9 +6,7 @@
namespace net {
-ProxyInfo::ProxyInfo()
- : config_id_(ProxyConfig::INVALID_ID),
- config_was_tried_(false) {
+ProxyInfo::ProxyInfo() : config_id_(ProxyConfig::INVALID_ID) {
}
void ProxyInfo::Use(const ProxyInfo& other) {
@@ -16,7 +14,7 @@
}
void ProxyInfo::UseDirect() {
- proxy_list_.Set(std::string());
+ proxy_list_.SetSingleProxyServer(ProxyServer::Direct());
}
void ProxyInfo::UseNamedProxy(const std::string& proxy_uri_list) {

Powered by Google App Engine
This is Rietveld 408576698