| 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 DiskBasedCertCache; | 48 class DiskBasedCertCache; |
| 48 class HostResolver; | 49 class HostResolver; |
| 49 class HttpAuthHandlerFactory; | 50 class HttpAuthHandlerFactory; |
| 50 class HttpNetworkSession; | 51 class HttpNetworkSession; |
| 51 class HttpResponseInfo; | 52 class HttpResponseInfo; |
| 52 class HttpServerProperties; | 53 class HttpServerProperties; |
| 53 class IOBuffer; | 54 class IOBuffer; |
| 54 class NetLog; | 55 class NetLog; |
| 55 class NetworkDelegate; | 56 class NetworkDelegate; |
| 56 class ServerBoundCertService; | |
| 57 class ProxyService; | 57 class ProxyService; |
| 58 class SSLConfigService; | 58 class SSLConfigService; |
| 59 class TransportSecurityState; | 59 class TransportSecurityState; |
| 60 class ViewCacheHelper; | 60 class ViewCacheHelper; |
| 61 struct HttpRequestInfo; | 61 struct HttpRequestInfo; |
| 62 | 62 |
| 63 class NET_EXPORT HttpCache : public HttpTransactionFactory, | 63 class NET_EXPORT HttpCache : public HttpTransactionFactory, |
| 64 NON_EXPORTED_BASE(public base::NonThreadSafe) { | 64 NON_EXPORTED_BASE(public base::NonThreadSafe) { |
| 65 public: | 65 public: |
| 66 // The cache mode of operation. | 66 // The cache mode of operation. |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 scoped_ptr<PlaybackCacheMap> playback_cache_map_; | 422 scoped_ptr<PlaybackCacheMap> playback_cache_map_; |
| 423 | 423 |
| 424 base::WeakPtrFactory<HttpCache> weak_factory_; | 424 base::WeakPtrFactory<HttpCache> weak_factory_; |
| 425 | 425 |
| 426 DISALLOW_COPY_AND_ASSIGN(HttpCache); | 426 DISALLOW_COPY_AND_ASSIGN(HttpCache); |
| 427 }; | 427 }; |
| 428 | 428 |
| 429 } // namespace net | 429 } // namespace net |
| 430 | 430 |
| 431 #endif // NET_HTTP_HTTP_CACHE_H_ | 431 #endif // NET_HTTP_HTTP_CACHE_H_ |
| OLD | NEW |