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

Unified Diff: net/quic/quic_http_stream.cc

Issue 1688003005: QUIC - instrumentation for testing null QuicSpdyStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/quic_spdy_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_http_stream.cc
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
index db671f22e925e3313ae37f648a0e7e762eac4f1b..54ce648b7df7aac00a09497cb0405c9da046ff21 100644
--- a/net/quic/quic_http_stream.cc
+++ b/net/quic/quic_http_stream.cc
@@ -556,7 +556,11 @@ int QuicHttpStream::ProcessResponseHeaders(const SpdyHeaderBlock& headers) {
}
int QuicHttpStream::ReadAvailableData(IOBuffer* buf, int buf_len) {
+ // TODO(rtenneti): Temporary until crbug.com/585591 is solved.
+ stream_->CrashIfInvalid();
int rv = stream_->Read(buf, buf_len);
+ // TODO(rtenneti): Temporary until crbug.com/585591 is solved.
+ stream_->CrashIfInvalid();
eroman 2016/02/11 02:16:33 Driveby comments: According to the crash data for
ramant (doing other things) 2016/02/11 19:45:46 Acknowledged. Thanks Eric. Added more instrumenta
if (stream_->IsDoneReading()) {
stream_->SetDelegate(nullptr);
stream_->OnFinRead();
« no previous file with comments | « no previous file | net/quic/quic_spdy_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698