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

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

Issue 8944001: net: remove DNS certificate checking code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « jingle/notifier/base/proxy_resolving_client_socket.cc ('k') | net/http/http_cache.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 25 matching lines...) Expand all
36 class GURL; 36 class GURL;
37 37
38 namespace disk_cache { 38 namespace disk_cache {
39 class Backend; 39 class Backend;
40 class Entry; 40 class Entry;
41 } 41 }
42 42
43 namespace net { 43 namespace net {
44 44
45 class CertVerifier; 45 class CertVerifier;
46 class DnsCertProvenanceChecker;
47 class HostResolver; 46 class HostResolver;
48 class HttpAuthHandlerFactory; 47 class HttpAuthHandlerFactory;
49 class HttpNetworkSession; 48 class HttpNetworkSession;
50 class HttpResponseInfo; 49 class HttpResponseInfo;
51 class HttpServerProperties; 50 class HttpServerProperties;
52 class IOBuffer; 51 class IOBuffer;
53 class NetLog; 52 class NetLog;
54 class NetworkDelegate; 53 class NetworkDelegate;
55 class OriginBoundCertService; 54 class OriginBoundCertService;
56 class ProxyService; 55 class ProxyService;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 int max_bytes_; 116 int max_bytes_;
118 scoped_refptr<base::MessageLoopProxy> thread_; 117 scoped_refptr<base::MessageLoopProxy> thread_;
119 }; 118 };
120 119
121 // The disk cache is initialized lazily (by CreateTransaction) in this case. 120 // The disk cache is initialized lazily (by CreateTransaction) in this case.
122 // The HttpCache takes ownership of the |backend_factory|. 121 // The HttpCache takes ownership of the |backend_factory|.
123 HttpCache(HostResolver* host_resolver, 122 HttpCache(HostResolver* host_resolver,
124 CertVerifier* cert_verifier, 123 CertVerifier* cert_verifier,
125 OriginBoundCertService* origin_bound_cert_service, 124 OriginBoundCertService* origin_bound_cert_service,
126 TransportSecurityState* transport_security_state, 125 TransportSecurityState* transport_security_state,
127 DnsCertProvenanceChecker* dns_cert_checker,
128 ProxyService* proxy_service, 126 ProxyService* proxy_service,
129 const std::string& ssl_session_cache_shard, 127 const std::string& ssl_session_cache_shard,
130 SSLConfigService* ssl_config_service, 128 SSLConfigService* ssl_config_service,
131 HttpAuthHandlerFactory* http_auth_handler_factory, 129 HttpAuthHandlerFactory* http_auth_handler_factory,
132 NetworkDelegate* network_delegate, 130 NetworkDelegate* network_delegate,
133 HttpServerProperties* http_server_properties, 131 HttpServerProperties* http_server_properties,
134 NetLog* net_log, 132 NetLog* net_log,
135 BackendFactory* backend_factory); 133 BackendFactory* backend_factory);
136 134
137 // The disk cache is initialized lazily (by CreateTransaction) in this case. 135 // The disk cache is initialized lazily (by CreateTransaction) in this case.
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 PendingOpsMap pending_ops_; 380 PendingOpsMap pending_ops_;
383 381
384 scoped_ptr<PlaybackCacheMap> playback_cache_map_; 382 scoped_ptr<PlaybackCacheMap> playback_cache_map_;
385 383
386 DISALLOW_COPY_AND_ASSIGN(HttpCache); 384 DISALLOW_COPY_AND_ASSIGN(HttpCache);
387 }; 385 };
388 386
389 } // namespace net 387 } // namespace net
390 388
391 #endif // NET_HTTP_HTTP_CACHE_H_ 389 #endif // NET_HTTP_HTTP_CACHE_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/proxy_resolving_client_socket.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698