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

Unified Diff: net/quic/bidirectional_stream_quic_impl.h

Issue 2077683002: Move the logic for delaying 0-RTT QUIC POST from the QuicStreamFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@QuicHttpStream
Patch Set: Fix BidirectionalStreamQuicImpl 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/quic/bidirectional_stream_quic_impl.h
diff --git a/net/quic/bidirectional_stream_quic_impl.h b/net/quic/bidirectional_stream_quic_impl.h
index 7a3e6658a0eb4a15fe3e620d22bcc6a81ffd21f0..82456b8cb8b01d4245aeb2c0395cb27fa0816876 100644
--- a/net/quic/bidirectional_stream_quic_impl.h
+++ b/net/quic/bidirectional_stream_quic_impl.h
@@ -70,6 +70,7 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
void OnSessionClosed(int error, bool port_migration_detected) override;
void OnStreamReady(int rv);
+ void StartStream();
xunjieli 2016/06/16 22:52:13 Can you add a brief comment? Since this method is
void OnSendDataComplete(int rv);
void OnReadDataComplete(int rv);
@@ -117,6 +118,10 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
// frame with data frame in the same packet if possible.
bool send_request_headers_automatically_;
+ // True of this stream is waiting for the QUIC handshake to be confirmed
+ // before sending headers.
+ bool waiting_for_confirmation_;
+
base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl);
« no previous file with comments | « no previous file | net/quic/bidirectional_stream_quic_impl.cc » ('j') | net/quic/bidirectional_stream_quic_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698