Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Side by Side Diff: net/http/http_cache.h

Issue 1604011: Use HttpRequestHeaders for extra_headers. (Closed)
Patch Set: Address eroman comments. Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http/http_basic_stream.h ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 21 matching lines...) Expand all
32 namespace disk_cache { 32 namespace disk_cache {
33 class Backend; 33 class Backend;
34 class Entry; 34 class Entry;
35 } 35 }
36 36
37 namespace net { 37 namespace net {
38 38
39 class HostResolver; 39 class HostResolver;
40 class HttpAuthHandlerFactory; 40 class HttpAuthHandlerFactory;
41 class HttpNetworkSession; 41 class HttpNetworkSession;
42 class HttpRequestInfo; 42 struct HttpRequestInfo;
43 class HttpResponseInfo; 43 class HttpResponseInfo;
44 class IOBuffer; 44 class IOBuffer;
45 class NetworkChangeNotifier; 45 class NetworkChangeNotifier;
46 class ProxyService; 46 class ProxyService;
47 class SSLConfigService; 47 class SSLConfigService;
48 48
49 class HttpCache : public HttpTransactionFactory, 49 class HttpCache : public HttpTransactionFactory,
50 public base::SupportsWeakPtr<HttpCache> { 50 public base::SupportsWeakPtr<HttpCache> {
51 public: 51 public:
52 ~HttpCache(); 52 ~HttpCache();
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 319
320 typedef base::hash_map<std::string, int> PlaybackCacheMap; 320 typedef base::hash_map<std::string, int> PlaybackCacheMap;
321 scoped_ptr<PlaybackCacheMap> playback_cache_map_; 321 scoped_ptr<PlaybackCacheMap> playback_cache_map_;
322 322
323 DISALLOW_COPY_AND_ASSIGN(HttpCache); 323 DISALLOW_COPY_AND_ASSIGN(HttpCache);
324 }; 324 };
325 325
326 } // namespace net 326 } // namespace net
327 327
328 #endif // NET_HTTP_HTTP_CACHE_H_ 328 #endif // NET_HTTP_HTTP_CACHE_H_
OLDNEW
« no previous file with comments | « net/http/http_basic_stream.h ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698