| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file declares a HttpTransactionFactory implementation that can be | 5 // This file declares a HttpTransactionFactory implementation that can be |
| 6 // layered on top of another HttpTransactionFactory to add HTTP caching. The | 6 // layered on top of another HttpTransactionFactory to add HTTP caching. The |
| 7 // caching logic follows RFC 2616 (any exceptions are called out in the code). | 7 // caching logic follows RFC 2616 (any exceptions are called out in the code). |
| 8 // | 8 // |
| 9 // The HttpCache takes a disk_cache::Backend as a parameter, and uses that for | 9 // The HttpCache takes a disk_cache::Backend as a parameter, and uses that for |
| 10 // the cache storage. | 10 // the cache storage. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 class GURL; | 37 class GURL; |
| 38 | 38 |
| 39 namespace disk_cache { | 39 namespace disk_cache { |
| 40 class Backend; | 40 class Backend; |
| 41 class Entry; | 41 class Entry; |
| 42 } | 42 } |
| 43 | 43 |
| 44 namespace net { | 44 namespace net { |
| 45 | 45 |
| 46 class CertVerifier; | 46 class CertVerifier; |
| 47 class ChannelIDService; |
| 47 class HostResolver; | 48 class HostResolver; |
| 48 class HttpAuthHandlerFactory; | 49 class HttpAuthHandlerFactory; |
| 49 class HttpNetworkSession; | 50 class HttpNetworkSession; |
| 50 class HttpResponseInfo; | 51 class HttpResponseInfo; |
| 51 class HttpServerProperties; | 52 class HttpServerProperties; |
| 52 class IOBuffer; | 53 class IOBuffer; |
| 53 class NetLog; | 54 class NetLog; |
| 54 class NetworkDelegate; | 55 class NetworkDelegate; |
| 55 class ServerBoundCertService; | |
| 56 class ProxyService; | 56 class ProxyService; |
| 57 class SSLConfigService; | 57 class SSLConfigService; |
| 58 class TransportSecurityState; | 58 class TransportSecurityState; |
| 59 class ViewCacheHelper; | 59 class ViewCacheHelper; |
| 60 struct HttpRequestInfo; | 60 struct HttpRequestInfo; |
| 61 | 61 |
| 62 class NET_EXPORT HttpCache : public HttpTransactionFactory, | 62 class NET_EXPORT HttpCache : public HttpTransactionFactory, |
| 63 NON_EXPORTED_BASE(public base::NonThreadSafe) { | 63 NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| 64 public: | 64 public: |
| 65 // The cache mode of operation. | 65 // The cache mode of operation. |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 scoped_ptr<PlaybackCacheMap> playback_cache_map_; | 417 scoped_ptr<PlaybackCacheMap> playback_cache_map_; |
| 418 | 418 |
| 419 base::WeakPtrFactory<HttpCache> weak_factory_; | 419 base::WeakPtrFactory<HttpCache> weak_factory_; |
| 420 | 420 |
| 421 DISALLOW_COPY_AND_ASSIGN(HttpCache); | 421 DISALLOW_COPY_AND_ASSIGN(HttpCache); |
| 422 }; | 422 }; |
| 423 | 423 |
| 424 } // namespace net | 424 } // namespace net |
| 425 | 425 |
| 426 #endif // NET_HTTP_HTTP_CACHE_H_ | 426 #endif // NET_HTTP_HTTP_CACHE_H_ |
| OLD | NEW |