summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_info.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-15 19:22:24 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-15 19:22:24 +0000
commit8e1845e1bc61b92e39f21da353fbec0b708e7194 (patch)
tree03812a0c2da378f45f805c9a436e4adb1d0ad793 /net/proxy/proxy_info.cc
parent7a147fb74d7657f42378947a31d24d197d2345db (diff)
downloadchromium_src-8e1845e1bc61b92e39f21da353fbec0b708e7194.zip
chromium_src-8e1845e1bc61b92e39f21da353fbec0b708e7194.tar.gz
chromium_src-8e1845e1bc61b92e39f21da353fbec0b708e7194.tar.bz2
FBTF: Move code from .h to .cc in net/
Shaves a cumulative 400k off libnet/browser.a BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3432004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_info.cc')
-rw-r--r--net/proxy/proxy_info.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/proxy/proxy_info.cc b/net/proxy/proxy_info.cc
index 796d3417..ebefa84 100644
--- a/net/proxy/proxy_info.cc
+++ b/net/proxy/proxy_info.cc
@@ -4,11 +4,16 @@
#include "net/proxy/proxy_info.h"
+#include "net/proxy/proxy_retry_info.h"
+
namespace net {
ProxyInfo::ProxyInfo() : config_id_(ProxyConfig::INVALID_ID) {
}
+ProxyInfo::~ProxyInfo() {
+}
+
void ProxyInfo::Use(const ProxyInfo& other) {
proxy_list_ = other.proxy_list_;
}
@@ -29,4 +34,17 @@ std::string ProxyInfo::ToPacString() const {
return proxy_list_.ToPacString();
}
+bool ProxyInfo::Fallback(ProxyRetryInfoMap* proxy_retry_info) {
+ return proxy_list_.Fallback(proxy_retry_info);
+}
+
+void ProxyInfo::DeprioritizeBadProxies(
+ const ProxyRetryInfoMap& proxy_retry_info) {
+ proxy_list_.DeprioritizeBadProxies(proxy_retry_info);
+}
+
+void ProxyInfo::RemoveProxiesWithoutScheme(int scheme_bit_field) {
+ proxy_list_.RemoveProxiesWithoutScheme(scheme_bit_field);
+}
+
} // namespace net