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

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

Issue 11696010: Integrate QUIC info into net-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <set> 8 #include <set>
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 } 134 }
135 135
136 // Creates a Value summary of the state of the socket pools. The caller is 136 // Creates a Value summary of the state of the socket pools. The caller is
137 // responsible for deleting the returned value. 137 // responsible for deleting the returned value.
138 base::Value* SocketPoolInfoToValue() const; 138 base::Value* SocketPoolInfoToValue() const;
139 139
140 // 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
141 // responsible for deleting the returned value. 141 // responsible for deleting the returned value.
142 base::Value* SpdySessionPoolInfoToValue() const; 142 base::Value* SpdySessionPoolInfoToValue() const;
143 143
144 // Creates a Value summary of the state of the QUIC sessions and
145 // configuration. The caller is responsible for deleting the returned value.
146 base::Value* QuicInfoToValue() const;
147
144 void CloseAllConnections(); 148 void CloseAllConnections();
145 void CloseIdleConnections(); 149 void CloseIdleConnections();
146 150
147 bool force_http_pipelining() const { return force_http_pipelining_; } 151 bool force_http_pipelining() const { return force_http_pipelining_; }
148 152
149 // Returns the original Params used to construct this session. 153 // Returns the original Params used to construct this session.
150 const Params& params() const { return params_; } 154 const Params& params() const { return params_; }
151 155
152 void set_http_pipelining_enabled(bool enable) { 156 void set_http_pipelining_enabled(bool enable) {
153 params_.http_pipelining_enabled = enable; 157 params_.http_pipelining_enabled = enable;
(...skipping 26 matching lines...) Expand all
180 SpdySessionPool spdy_session_pool_; 184 SpdySessionPool spdy_session_pool_;
181 scoped_ptr<HttpStreamFactory> http_stream_factory_; 185 scoped_ptr<HttpStreamFactory> http_stream_factory_;
182 std::set<HttpResponseBodyDrainer*> response_drainers_; 186 std::set<HttpResponseBodyDrainer*> response_drainers_;
183 187
184 Params params_; 188 Params params_;
185 }; 189 };
186 190
187 } // namespace net 191 } // namespace net
188 192
189 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 193 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/test/data/webui/net_internals/net_internals_test.js ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698