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

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

Issue 2363003: Rework the logging for sockets/connectjobs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_network_session.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 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 20 matching lines...) Expand all
31 // This class holds session objects used by HttpNetworkTransaction objects. 31 // This class holds session objects used by HttpNetworkTransaction objects.
32 class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { 32 class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> {
33 public: 33 public:
34 HttpNetworkSession( 34 HttpNetworkSession(
35 NetworkChangeNotifier* network_change_notifier, 35 NetworkChangeNotifier* network_change_notifier,
36 HostResolver* host_resolver, 36 HostResolver* host_resolver,
37 ProxyService* proxy_service, 37 ProxyService* proxy_service,
38 ClientSocketFactory* client_socket_factory, 38 ClientSocketFactory* client_socket_factory,
39 SSLConfigService* ssl_config_service, 39 SSLConfigService* ssl_config_service,
40 SpdySessionPool* spdy_session_pool, 40 SpdySessionPool* spdy_session_pool,
41 HttpAuthHandlerFactory* http_auth_handler_factory); 41 HttpAuthHandlerFactory* http_auth_handler_factory,
42 NetLog* net_log);
42 43
43 HttpAuthCache* auth_cache() { return &auth_cache_; } 44 HttpAuthCache* auth_cache() { return &auth_cache_; }
44 SSLClientAuthCache* ssl_client_auth_cache() { 45 SSLClientAuthCache* ssl_client_auth_cache() {
45 return &ssl_client_auth_cache_; 46 return &ssl_client_auth_cache_;
46 } 47 }
47 48
48 const HttpAlternateProtocols& alternate_protocols() const { 49 const HttpAlternateProtocols& alternate_protocols() const {
49 return alternate_protocols_; 50 return alternate_protocols_;
50 } 51 }
51 HttpAlternateProtocols* mutable_alternate_protocols() { 52 HttpAlternateProtocols* mutable_alternate_protocols() {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 scoped_refptr<ClientSocketPoolHistograms> socks_pool_histograms_; 117 scoped_refptr<ClientSocketPoolHistograms> socks_pool_histograms_;
117 scoped_refptr<TCPClientSocketPool> tcp_socket_pool_; 118 scoped_refptr<TCPClientSocketPool> tcp_socket_pool_;
118 HTTPProxySocketPoolMap http_proxy_socket_pool_; 119 HTTPProxySocketPoolMap http_proxy_socket_pool_;
119 SOCKSSocketPoolMap socks_socket_pool_; 120 SOCKSSocketPoolMap socks_socket_pool_;
120 ClientSocketFactory* socket_factory_; 121 ClientSocketFactory* socket_factory_;
121 scoped_refptr<HostResolver> host_resolver_; 122 scoped_refptr<HostResolver> host_resolver_;
122 scoped_refptr<ProxyService> proxy_service_; 123 scoped_refptr<ProxyService> proxy_service_;
123 scoped_refptr<SSLConfigService> ssl_config_service_; 124 scoped_refptr<SSLConfigService> ssl_config_service_;
124 scoped_refptr<SpdySessionPool> spdy_session_pool_; 125 scoped_refptr<SpdySessionPool> spdy_session_pool_;
125 HttpAuthHandlerFactory* http_auth_handler_factory_; 126 HttpAuthHandlerFactory* http_auth_handler_factory_;
127 NetLog* net_log_;
126 SpdySettingsStorage spdy_settings_; 128 SpdySettingsStorage spdy_settings_;
127 }; 129 };
128 130
129 } // namespace net 131 } // namespace net
130 132
131 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 133 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698