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

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

Issue 6005015: Revert 70618 - First pass at adding http/backend cache events to the NetLog. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
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
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_
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