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

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

Issue 6125001: Fixed first pass at adding http/backend cache events to the NetLog. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix Created 9 years, 11 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_cache_unittest.cc ('k') | net/proxy/proxy_script_fetcher_impl_unittest.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 #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
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
133 // Creates a Value summary of the state of the socket pools. The caller is 137 // Creates a Value summary of the state of the socket pools. The caller is
134 // responsible for deleting the returned value. 138 // responsible for deleting the returned value.
135 Value* SocketPoolInfoToValue() const { 139 Value* SocketPoolInfoToValue() const {
136 return socket_pool_manager_.SocketPoolInfoToValue(); 140 return socket_pool_manager_.SocketPoolInfoToValue();
137 } 141 }
138 142
139 // Creates a Value summary of the state of the SPDY sessions. The caller is 143 // Creates a Value summary of the state of the SPDY sessions. The caller is
140 // responsible for deleting the returned value. 144 // responsible for deleting the returned value.
141 Value* SpdySessionPoolInfoToValue() const; 145 Value* SpdySessionPoolInfoToValue() const;
142 146
(...skipping 25 matching lines...) Expand all
168 HttpAuthHandlerFactory* http_auth_handler_factory_; 172 HttpAuthHandlerFactory* http_auth_handler_factory_;
169 HttpNetworkDelegate* const network_delegate_; 173 HttpNetworkDelegate* const network_delegate_;
170 NetLog* net_log_; 174 NetLog* net_log_;
171 SpdySettingsStorage spdy_settings_; 175 SpdySettingsStorage spdy_settings_;
172 std::set<HttpResponseBodyDrainer*> response_drainers_; 176 std::set<HttpResponseBodyDrainer*> response_drainers_;
173 }; 177 };
174 178
175 } // namespace net 179 } // namespace net
176 180
177 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 181 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/proxy/proxy_script_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698