diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-14 13:22:01 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-14 13:22:01 +0000 |
commit | a154ba9bc83408f1f27b27c4dce6af71486b9166 (patch) | |
tree | 8efdb3c6a96e3c55922d6fcba78c2de7900a47da /net/proxy/proxy_service.h | |
parent | 328653c2e32b570d8cdbef3938b8b834f3b5abfb (diff) | |
download | chromium_src-a154ba9bc83408f1f27b27c4dce6af71486b9166.zip chromium_src-a154ba9bc83408f1f27b27c4dce6af71486b9166.tar.gz chromium_src-a154ba9bc83408f1f27b27c4dce6af71486b9166.tar.bz2 |
net: Rename ProxyService::CreateNull to ProxyService::CreateDirect.
(Note: This was a TODO for eroman).
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/3336021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_service.h')
-rw-r--r-- | net/proxy/proxy_service.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h index 990830e..8e53970 100644 --- a/net/proxy/proxy_service.h +++ b/net/proxy/proxy_service.h @@ -177,10 +177,8 @@ class ProxyService : public base::RefCountedThreadSafe<ProxyService>, // specified fixed settings. |pc| must not be NULL. static ProxyService* CreateFixed(const ProxyConfig& pc); - // Creates a proxy service that always fails to fetch the proxy configuration, - // so it falls back to direct connect. - // TODO(eroman): Rename to CreateDirect(). - static ProxyService* CreateNull(); + // Creates a proxy service that uses a DIRECT connection for all requests. + static ProxyService* CreateDirect(); // This method is used by tests to create a ProxyService that returns a // hardcoded proxy fallback list (|pac_string|) for every URL. |