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

Unified Diff: components/cronet/android/cronet_bidirectional_stream_adapter.h

Issue 1911353003: [Cronet] Do not call into BidirectionalStream::SendData if stream failed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 8 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 | components/cronet/android/cronet_bidirectional_stream_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/cronet_bidirectional_stream_adapter.h
diff --git a/components/cronet/android/cronet_bidirectional_stream_adapter.h b/components/cronet/android/cronet_bidirectional_stream_adapter.h
index 2977beb5a32a77fbf389216d15da15538202490e..d61835f487156480ee1187df641a3ada392d57a2 100644
--- a/components/cronet/android/cronet_bidirectional_stream_adapter.h
+++ b/components/cronet/android/cronet_bidirectional_stream_adapter.h
@@ -122,6 +122,9 @@ class CronetBidirectionalStreamAdapter
scoped_refptr<IOBufferWithByteBuffer> write_buffer_;
std::unique_ptr<net::BidirectionalStream> bidi_stream_;
+ // Whether BidirectionalStream::Delegate::OnFailed callback is invoked.
+ bool stream_failed_;
+
DISALLOW_COPY_AND_ASSIGN(CronetBidirectionalStreamAdapter);
};
« no previous file with comments | « no previous file | components/cronet/android/cronet_bidirectional_stream_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698