OLD | NEW |
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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 return http_auth_handler_factory_; | 120 return http_auth_handler_factory_; |
121 } | 121 } |
122 HttpNetworkDelegate* network_delegate() { | 122 HttpNetworkDelegate* network_delegate() { |
123 return network_delegate_; | 123 return network_delegate_; |
124 } | 124 } |
125 | 125 |
126 HttpStreamFactory* http_stream_factory() { | 126 HttpStreamFactory* http_stream_factory() { |
127 return &http_stream_factory_; | 127 return &http_stream_factory_; |
128 } | 128 } |
129 | 129 |
| 130 NetLog* net_log() { |
| 131 return net_log_; |
| 132 } |
| 133 |
130 // Creates a Value summary of the state of the socket pools. The caller is | 134 // Creates a Value summary of the state of the socket pools. The caller is |
131 // responsible for deleting the returned value. | 135 // responsible for deleting the returned value. |
132 Value* SocketPoolInfoToValue() const { | 136 Value* SocketPoolInfoToValue() const { |
133 return socket_pool_manager_.SocketPoolInfoToValue(); | 137 return socket_pool_manager_.SocketPoolInfoToValue(); |
134 } | 138 } |
135 | 139 |
136 // Creates a Value summary of the state of the SPDY sessions. The caller is | 140 // Creates a Value summary of the state of the SPDY sessions. The caller is |
137 // responsible for deleting the returned value. | 141 // responsible for deleting the returned value. |
138 Value* SpdySessionPoolInfoToValue() const; | 142 Value* SpdySessionPoolInfoToValue() const; |
139 | 143 |
(...skipping 24 matching lines...) Expand all Loading... |
164 HttpAuthHandlerFactory* http_auth_handler_factory_; | 168 HttpAuthHandlerFactory* http_auth_handler_factory_; |
165 HttpNetworkDelegate* const network_delegate_; | 169 HttpNetworkDelegate* const network_delegate_; |
166 NetLog* net_log_; | 170 NetLog* net_log_; |
167 SpdySettingsStorage spdy_settings_; | 171 SpdySettingsStorage spdy_settings_; |
168 std::set<HttpResponseBodyDrainer*> response_drainers_; | 172 std::set<HttpResponseBodyDrainer*> response_drainers_; |
169 }; | 173 }; |
170 | 174 |
171 } // namespace net | 175 } // namespace net |
172 | 176 |
173 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ | 177 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ |
OLD | NEW |