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

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

Issue 15967002: [SPDY] Remove more code related to sending HEADERS frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few fixes Created 7 years, 7 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 | « no previous file | net/spdy/spdy_http_stream.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) 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual bool IsSpdyHttpStream() const OVERRIDE; 83 virtual bool IsSpdyHttpStream() const OVERRIDE;
84 virtual void Drain(HttpNetworkSession* session) OVERRIDE; 84 virtual void Drain(HttpNetworkSession* session) OVERRIDE;
85 85
86 // SpdyStream::Delegate implementation. 86 // SpdyStream::Delegate implementation.
87 virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE; 87 virtual SpdySendStatus OnSendHeadersComplete() OVERRIDE;
88 virtual void OnSendBody() OVERRIDE; 88 virtual void OnSendBody() OVERRIDE;
89 virtual SpdySendStatus OnSendBodyComplete() OVERRIDE; 89 virtual SpdySendStatus OnSendBodyComplete() OVERRIDE;
90 virtual int OnResponseReceived(const SpdyHeaderBlock& response, 90 virtual int OnResponseReceived(const SpdyHeaderBlock& response,
91 base::Time response_time, 91 base::Time response_time,
92 int status) OVERRIDE; 92 int status) OVERRIDE;
93 virtual void OnHeadersSent() OVERRIDE;
94 virtual int OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; 93 virtual int OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE;
95 virtual void OnDataSent() OVERRIDE; 94 virtual void OnDataSent() OVERRIDE;
96 virtual void OnClose(int status) OVERRIDE; 95 virtual void OnClose(int status) OVERRIDE;
97 96
98 private: 97 private:
99 void OnStreamCreated(const CompletionCallback& callback, int rv); 98 void OnStreamCreated(const CompletionCallback& callback, int rv);
100 99
101 // Reads the data (whether chunked or not) from the request body 100 // Reads the data (whether chunked or not) from the request body
102 // stream and sends it. The read and subsequent sending may happen 101 // stream and sends it. The read and subsequent sending may happen
103 // asynchronously. 102 // asynchronously.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 166
168 // Is this spdy stream direct to the origin server (or to a proxy). 167 // Is this spdy stream direct to the origin server (or to a proxy).
169 bool direct_; 168 bool direct_;
170 169
171 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); 170 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream);
172 }; 171 };
173 172
174 } // namespace net 173 } // namespace net
175 174
176 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ 175 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698