From ed4ed0fa4e964e416cd3ac65df64bc238f65461c Mon Sep 17 00:00:00 2001 From: "eroman@chromium.org" Date: Wed, 24 Feb 2010 00:20:48 +0000 Subject: ProxyConfig behaved like a struct, but was defined as a class. Changed it to be a proper class with hidden implementation variables, setters etc. Also seized this opportunity to move the bypass list from being a member of ProxyConfig, to being a member of ProxyRules. This is a more correct hiearchy, since the bypass rules only apply to the manual settings. Lastly, this makes it possible to have the manual rules evaluation be a method on ProxyRules, and shift some more code out of proxy_service. Review URL: http://codereview.chromium.org/651070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39818 0039d316-1c4b-4281-b951-d872f2087c98 --- net/proxy/proxy_service.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'net/proxy/proxy_service.h') diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h index 5798214..7ad83d5 100644 --- a/net/proxy/proxy_service.h +++ b/net/proxy/proxy_service.h @@ -227,12 +227,7 @@ class ProxyService : public base::RefCountedThreadSafe, // Completing synchronously means we don't need to query ProxyResolver. int TryToCompleteSynchronously(const GURL& url, ProxyInfo* result); - // Set |result| with the proxy to use for |url|, based on |rules|. - void ApplyProxyRules(const GURL& url, - const ProxyConfig::ProxyRules& rules, - ProxyInfo* result); - - // Cancel all of the requests sent to the ProxyResolver. These will be + // Cancels all of the requests sent to the ProxyResolver. These will be // restarted when calling ResumeAllPendingRequests(). void SuspendAllPendingRequests(); -- cgit v1.1