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

Side by Side Diff: net/socket_stream/socket_stream.h

Issue 5386001: Cache certificate verification results in memory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add unit tests. Ready for review. Created 10 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
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 #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_H_ 5 #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_H_
6 #define NET_SOCKET_STREAM_SOCKET_STREAM_H_ 6 #define NET_SOCKET_STREAM_SOCKET_STREAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 GURL url_; 268 GURL url_;
269 int max_pending_send_allowed_; 269 int max_pending_send_allowed_;
270 scoped_refptr<URLRequestContext> context_; 270 scoped_refptr<URLRequestContext> context_;
271 271
272 typedef std::map<const void*, linked_ptr<UserData> > UserDataMap; 272 typedef std::map<const void*, linked_ptr<UserData> > UserDataMap;
273 UserDataMap user_data_; 273 UserDataMap user_data_;
274 274
275 State next_state_; 275 State next_state_;
276 HostResolver* host_resolver_; 276 HostResolver* host_resolver_;
277 CertVerifier* cert_verifier_;
277 HttpAuthHandlerFactory* http_auth_handler_factory_; 278 HttpAuthHandlerFactory* http_auth_handler_factory_;
278 ClientSocketFactory* factory_; 279 ClientSocketFactory* factory_;
279 280
280 ProxyMode proxy_mode_; 281 ProxyMode proxy_mode_;
281 282
282 GURL proxy_url_; 283 GURL proxy_url_;
283 ProxyService::PacRequest* pac_request_; 284 ProxyService::PacRequest* pac_request_;
284 ProxyInfo proxy_info_; 285 ProxyInfo proxy_info_;
285 286
286 HttpAuthCache auth_cache_; 287 HttpAuthCache auth_cache_;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 bool server_closed_; 327 bool server_closed_;
327 328
328 scoped_ptr<SocketStreamMetrics> metrics_; 329 scoped_ptr<SocketStreamMetrics> metrics_;
329 330
330 DISALLOW_COPY_AND_ASSIGN(SocketStream); 331 DISALLOW_COPY_AND_ASSIGN(SocketStream);
331 }; 332 };
332 333
333 } // namespace net 334 } // namespace net
334 335
335 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_H_ 336 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698