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

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

Issue 1924623002: [Cronet] Do not call into BidirectionalStream::SendData if stream failed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: 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 82a402bcc4a912b674a60bc7c74a28538d22aaa4..d9711911e0544fddb87e61066598d2cd10b21379 100644
--- a/components/cronet/android/cronet_bidirectional_stream_adapter.h
+++ b/components/cronet/android/cronet_bidirectional_stream_adapter.h
@@ -121,6 +121,9 @@ class CronetBidirectionalStreamAdapter
scoped_refptr<IOBufferWithByteBuffer> write_buffer_;
scoped_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