diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-15 19:22:24 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-15 19:22:24 +0000 |
commit | 8e1845e1bc61b92e39f21da353fbec0b708e7194 (patch) | |
tree | 03812a0c2da378f45f805c9a436e4adb1d0ad793 /net/proxy/proxy_info.h | |
parent | 7a147fb74d7657f42378947a31d24d197d2345db (diff) | |
download | chromium_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.h')
-rw-r--r-- | net/proxy/proxy_info.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h index d6a891f..1194752 100644 --- a/net/proxy/proxy_info.h +++ b/net/proxy/proxy_info.h @@ -19,6 +19,7 @@ namespace net { class ProxyInfo { public: ProxyInfo(); + ~ProxyInfo(); // Default copy-constructor and assignment operator are OK! // Uses the same proxy server as the given |proxy_info|. @@ -84,20 +85,14 @@ class ProxyInfo { // Marks the current proxy as bad. Returns true if there is another proxy // available to try in proxy list_. - bool Fallback(ProxyRetryInfoMap* proxy_retry_info) { - return proxy_list_.Fallback(proxy_retry_info); - } + bool Fallback(ProxyRetryInfoMap* proxy_retry_info); // De-prioritizes the proxies that we have cached as not working, by moving // them to the end of the proxy list. - void DeprioritizeBadProxies(const ProxyRetryInfoMap& proxy_retry_info) { - proxy_list_.DeprioritizeBadProxies(proxy_retry_info); - } + void DeprioritizeBadProxies(const ProxyRetryInfoMap& proxy_retry_info); // Deletes any entry which doesn't have one of the specified proxy schemes. - void RemoveProxiesWithoutScheme(int scheme_bit_field) { - proxy_list_.RemoveProxiesWithoutScheme(scheme_bit_field); - } + void RemoveProxiesWithoutScheme(int scheme_bit_field); private: friend class ProxyService; |