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

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

Issue 2167253002: s/SYN_STREAM/HEADERS/ in frame types, method names, comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // bytes received over the network for |stream_| while it was open. 148 // bytes received over the network for |stream_| while it was open.
149 int64_t closed_stream_received_bytes_; 149 int64_t closed_stream_received_bytes_;
150 // After |stream_| has been closed, this keeps track of the total number of 150 // After |stream_| has been closed, this keeps track of the total number of
151 // bytes sent over the network for |stream_| while it was open. 151 // bytes sent over the network for |stream_| while it was open.
152 int64_t closed_stream_sent_bytes_; 152 int64_t closed_stream_sent_bytes_;
153 153
154 // The request to send. 154 // The request to send.
155 const HttpRequestInfo* request_info_; 155 const HttpRequestInfo* request_info_;
156 156
157 // |response_info_| is the HTTP response data object which is filled in 157 // |response_info_| is the HTTP response data object which is filled in
158 // when a SYN_REPLY comes in for the stream. 158 // when a response HEADERS comes in for the stream.
159 // It is not owned by this stream object, or point to |push_response_info_|. 159 // It is not owned by this stream object, or point to |push_response_info_|.
160 HttpResponseInfo* response_info_; 160 HttpResponseInfo* response_info_;
161 161
162 std::unique_ptr<HttpResponseInfo> push_response_info_; 162 std::unique_ptr<HttpResponseInfo> push_response_info_;
163 163
164 // We don't use SpdyStream's |response_header_status_| as we 164 // We don't use SpdyStream's |response_header_status_| as we
165 // sometimes call back into our delegate before it is updated. 165 // sometimes call back into our delegate before it is updated.
166 SpdyResponseHeadersStatus response_headers_status_; 166 SpdyResponseHeadersStatus response_headers_status_;
167 167
168 // We buffer the response body as it arrives asynchronously from the stream. 168 // We buffer the response body as it arrives asynchronously from the stream.
(...skipping 24 matching lines...) Expand all
193 NextProto protocol_negotiated_; 193 NextProto protocol_negotiated_;
194 194
195 base::WeakPtrFactory<SpdyHttpStream> weak_factory_; 195 base::WeakPtrFactory<SpdyHttpStream> weak_factory_;
196 196
197 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); 197 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream);
198 }; 198 };
199 199
200 } // namespace net 200 } // namespace net
201 201
202 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ 202 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/spdy/bidirectional_stream_spdy_impl_unittest.cc ('k') | net/spdy/spdy_http_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698