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

Side by Side Diff: net/quic/quic_http_stream.h

Issue 1754813002: Revert of QUIC - instrumentation for testing null QuicSpdyStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase TOT Created 4 years, 9 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
« no previous file with comments | « no previous file | net/quic/quic_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_QUIC_QUIC_HTTP_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_
6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Wraps raw_request_body_buf_ to read the remaining data progressively. 186 // Wraps raw_request_body_buf_ to read the remaining data progressively.
187 scoped_refptr<DrainableIOBuffer> request_body_buf_; 187 scoped_refptr<DrainableIOBuffer> request_body_buf_;
188 188
189 BoundNetLog stream_net_log_; 189 BoundNetLog stream_net_log_;
190 190
191 QuicErrorCode quic_connection_error_; 191 QuicErrorCode quic_connection_error_;
192 192
193 // SSLInfo from the underlying QuicSession. 193 // SSLInfo from the underlying QuicSession.
194 SSLInfo ssl_info_; 194 SSLInfo ssl_info_;
195 195
196 // TODO(rtenneti): Temporary until crbug.com/585591 is solved.
197 bool read_in_progress_ = false;
198
199 bool found_promise_; 196 bool found_promise_;
200 // |QuicClientPromisedInfo| owns this. It will be set when |Try()| 197 // |QuicClientPromisedInfo| owns this. It will be set when |Try()|
201 // is asynchronous, i.e. it returned QUIC_PENDING, and remains valid 198 // is asynchronous, i.e. it returned QUIC_PENDING, and remains valid
202 // until |OnRendezvouResult()| fires or |push_handle_->Cancel()| is 199 // until |OnRendezvouResult()| fires or |push_handle_->Cancel()| is
203 // invoked. 200 // invoked.
204 QuicClientPushPromiseIndex::TryHandle* push_handle_; 201 QuicClientPushPromiseIndex::TryHandle* push_handle_;
205 202
206 base::WeakPtrFactory<QuicHttpStream> weak_factory_; 203 base::WeakPtrFactory<QuicHttpStream> weak_factory_;
207 204
208 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); 205 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream);
209 }; 206 };
210 207
211 } // namespace net 208 } // namespace net
212 209
213 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ 210 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698