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

Unified Diff: net/spdy/bidirectional_stream_spdy_impl.h

Issue 2032733002: Do not crash on null stream in writing to bidirectional streams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_crash
Patch Set: Rebased Created 4 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 side-by-side diff with in-line comments
Download patch
Index: net/spdy/bidirectional_stream_spdy_impl.h
diff --git a/net/spdy/bidirectional_stream_spdy_impl.h b/net/spdy/bidirectional_stream_spdy_impl.h
index 06d0d351f1be3d8b7672de34ed3dd956696aa0fc..629c7a331e8ed8911a962a100e1cf820c412fcd8 100644
--- a/net/spdy/bidirectional_stream_spdy_impl.h
+++ b/net/spdy/bidirectional_stream_spdy_impl.h
@@ -70,6 +70,8 @@ class NET_EXPORT_PRIVATE BidirectionalStreamSpdyImpl
private:
int SendRequestHeadersHelper();
void OnStreamInitialized(int rv);
+ // Notifies delegate of an error.
+ void NotifyError(int rv);
void ScheduleBufferedRead();
void DoBufferedRead();
bool ShouldWaitForMoreBufferedData() const;

Powered by Google App Engine
This is Rietveld 408576698