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

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

Issue 7255002: Revert 90373 - Warmth of a connection (cwnd) is estimated by the amount of data written to the so... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual bool IsResponseBodyComplete() const OVERRIDE; 61 virtual bool IsResponseBodyComplete() const OVERRIDE;
62 virtual bool CanFindEndOfResponse() const OVERRIDE; 62 virtual bool CanFindEndOfResponse() const OVERRIDE;
63 virtual bool IsMoreDataBuffered() const OVERRIDE; 63 virtual bool IsMoreDataBuffered() const OVERRIDE;
64 virtual bool IsConnectionReused() const OVERRIDE; 64 virtual bool IsConnectionReused() const OVERRIDE;
65 virtual void SetConnectionReused() OVERRIDE; 65 virtual void SetConnectionReused() OVERRIDE;
66 virtual bool IsConnectionReusable() const OVERRIDE; 66 virtual bool IsConnectionReusable() const OVERRIDE;
67 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 67 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
68 virtual void GetSSLCertRequestInfo( 68 virtual void GetSSLCertRequestInfo(
69 SSLCertRequestInfo* cert_request_info) OVERRIDE; 69 SSLCertRequestInfo* cert_request_info) OVERRIDE;
70 virtual bool IsSpdyHttpStream() const OVERRIDE; 70 virtual bool IsSpdyHttpStream() const OVERRIDE;
71 virtual void LogNumRttVsBytesMetrics() const OVERRIDE {}
72 71
73 // SpdyStream::Delegate methods: 72 // SpdyStream::Delegate methods:
74 virtual bool OnSendHeadersComplete(int status) OVERRIDE; 73 virtual bool OnSendHeadersComplete(int status) OVERRIDE;
75 virtual int OnSendBody() OVERRIDE; 74 virtual int OnSendBody() OVERRIDE;
76 virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE; 75 virtual int OnSendBodyComplete(int status, bool* eof) OVERRIDE;
77 virtual int OnResponseReceived(const spdy::SpdyHeaderBlock& response, 76 virtual int OnResponseReceived(const spdy::SpdyHeaderBlock& response,
78 base::Time response_time, 77 base::Time response_time,
79 int status) OVERRIDE; 78 int status) OVERRIDE;
80 virtual void OnDataReceived(const char* buffer, int bytes) OVERRIDE; 79 virtual void OnDataReceived(const char* buffer, int bytes) OVERRIDE;
81 virtual void OnDataSent(int length) OVERRIDE; 80 virtual void OnDataSent(int length) OVERRIDE;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 bool direct_; 132 bool direct_;
134 133
135 bool send_last_chunk_; 134 bool send_last_chunk_;
136 135
137 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); 136 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream);
138 }; 137 };
139 138
140 } // namespace net 139 } // namespace net
141 140
142 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ 141 #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