diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-20 04:30:12 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-20 04:30:12 +0000 |
commit | 555c2727afde2f81734a499ca98934e22b2045dc (patch) | |
tree | e18babb9db0a606138eb4ae045db18834cbbda1e /net | |
parent | e8368e995e5be4ea449491baa7249ae5fb5afb6c (diff) | |
download | chromium_src-555c2727afde2f81734a499ca98934e22b2045dc.zip chromium_src-555c2727afde2f81734a499ca98934e22b2045dc.tar.gz chromium_src-555c2727afde2f81734a499ca98934e22b2045dc.tar.bz2 |
Remove unnecessary forward declarations. Declare
HttpCache::GetCurrentBackend() as const.
R=rvargas@chromium.org
BUG=none
TEST=no compilation errors
Review URL: http://codereview.chromium.org/7696001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_cache.cc | 2 | ||||
-rw-r--r-- | net/http/http_cache.h | 2 | ||||
-rw-r--r-- | net/http/http_network_layer.h | 12 |
3 files changed, 2 insertions, 14 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc index 3763841..589777d 100644 --- a/net/http/http_cache.cc +++ b/net/http/http_cache.cc @@ -430,7 +430,7 @@ int HttpCache::GetBackend(disk_cache::Backend** backend, return CreateBackend(backend, callback); } -disk_cache::Backend* HttpCache::GetCurrentBackend() { +disk_cache::Backend* HttpCache::GetCurrentBackend() const { return disk_cache_.get(); } diff --git a/net/http/http_cache.h b/net/http/http_cache.h index 876418e..5e29701 100644 --- a/net/http/http_cache.h +++ b/net/http/http_cache.h @@ -158,7 +158,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory, int GetBackend(disk_cache::Backend** backend, CompletionCallback* callback); // Returns the current backend (can be NULL). - disk_cache::Backend* GetCurrentBackend(); + disk_cache::Backend* GetCurrentBackend() const; // Given a header data blob, convert it to a response info object. static bool ParseResponseInfo(const char* data, int len, diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h index 0b51889..95f7c95 100644 --- a/net/http/http_network_layer.h +++ b/net/http/http_network_layer.h @@ -17,19 +17,7 @@ namespace net { -class CertVerifier; -class ClientSocketFactory; -class DnsCertProvenanceChecker; -class DnsRRResolver; -class HostResolver; -class HttpAuthHandlerFactory; class HttpNetworkSession; -class NetLog; -class NetworkDelegate; -class ProxyService; -class SpdySessionPool; -class SSLConfigService; -class SSLHostInfoFactory; class NET_EXPORT HttpNetworkLayer : public HttpTransactionFactory, |