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

Side by Side Diff: net/spdy/spdy_http_stream.h

Issue 12886034: Remove experimental code to pick the "warmest" socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync, fix conflict Created 7 years, 8 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/socket/transport_client_socket_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket.h » ('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) 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_SPDY_SPDY_HTTP_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_
6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ 6 #define NET_SPDY_SPDY_HTTP_STREAM_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual bool IsConnectionReused() const OVERRIDE; 72 virtual bool IsConnectionReused() const OVERRIDE;
73 73
74 virtual void SetConnectionReused() OVERRIDE; 74 virtual void SetConnectionReused() OVERRIDE;
75 virtual bool IsConnectionReusable() const OVERRIDE; 75 virtual bool IsConnectionReusable() const OVERRIDE;
76 virtual bool GetLoadTimingInfo( 76 virtual bool GetLoadTimingInfo(
77 LoadTimingInfo* load_timing_info) const OVERRIDE; 77 LoadTimingInfo* load_timing_info) const OVERRIDE;
78 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 78 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
79 virtual void GetSSLCertRequestInfo( 79 virtual void GetSSLCertRequestInfo(
80 SSLCertRequestInfo* cert_request_info) OVERRIDE; 80 SSLCertRequestInfo* cert_request_info) OVERRIDE;
81 virtual bool IsSpdyHttpStream() const OVERRIDE; 81 virtual bool IsSpdyHttpStream() const OVERRIDE;
82 virtual void LogNumRttVsBytesMetrics() const OVERRIDE {}
83 virtual void Drain(HttpNetworkSession* session) OVERRIDE; 82 virtual void Drain(HttpNetworkSession* session) OVERRIDE;
84 83
85 // SpdyStream::Delegate implementation. 84 // SpdyStream::Delegate implementation.
86 virtual bool OnSendHeadersComplete(int status) OVERRIDE; 85 virtual bool OnSendHeadersComplete(int status) OVERRIDE;
87 virtual int OnSendBody() OVERRIDE; 86 virtual int OnSendBody() OVERRIDE;
88 virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE; 87 virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE;
89 virtual int OnResponseReceived(const SpdyHeaderBlock& response, 88 virtual int OnResponseReceived(const SpdyHeaderBlock& response,
90 base::Time response_time, 89 base::Time response_time,
91 int status) OVERRIDE; 90 int status) OVERRIDE;
92 virtual void OnHeadersSent() OVERRIDE; 91 virtual void OnHeadersSent() OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 161
163 // Is this spdy stream direct to the origin server (or to a proxy). 162 // Is this spdy stream direct to the origin server (or to a proxy).
164 bool direct_; 163 bool direct_;
165 164
166 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); 165 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream);
167 }; 166 };
168 167
169 } // namespace net 168 } // namespace net
170 169
171 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ 170 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/socket/transport_client_socket_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698