Chromium Code Reviews| 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); |