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