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

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: tweak 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
« no previous file with comments | « no previous file | net/quic/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..bd22cdd728781080496f6c10ce66d47217a8dfb1 100644
--- a/net/quic/bidirectional_stream_quic_impl.h
+++ b/net/quic/bidirectional_stream_quic_impl.h
@@ -75,6 +75,8 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
// Notifies the delegate of an error.
void NotifyError(int error);
+ // Notifies the delegate that the stream is ready.
+ void NotifyStreamReady();
// Resets the stream and ensures that |delegate_| won't be called back.
void ResetStream();
@@ -117,6 +119,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698