| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ | 5 #ifndef NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ |
| 6 #define NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ | 6 #define NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 bool has_sent_headers_; | 122 bool has_sent_headers_; |
| 123 // Indicates whether initial headers have been received. | 123 // Indicates whether initial headers have been received. |
| 124 bool has_received_headers_; | 124 bool has_received_headers_; |
| 125 | 125 |
| 126 // Whether to automatically send request headers when stream is negotiated. | 126 // Whether to automatically send request headers when stream is negotiated. |
| 127 // If false, headers will not be sent until SendRequestHeaders() is called or | 127 // If false, headers will not be sent until SendRequestHeaders() is called or |
| 128 // until next SendData/SendvData, during which QUIC will try to combine header | 128 // until next SendData/SendvData, during which QUIC will try to combine header |
| 129 // frame with data frame in the same packet if possible. | 129 // frame with data frame in the same packet if possible. |
| 130 bool send_request_headers_automatically_; | 130 bool send_request_headers_automatically_; |
| 131 | 131 |
| 132 // True of this stream is waiting for the QUIC handshake to be confirmed | |
| 133 // before sending headers. | |
| 134 bool waiting_for_confirmation_; | |
| 135 | |
| 136 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_; | 132 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_; |
| 137 | 133 |
| 138 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl); | 134 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl); |
| 139 }; | 135 }; |
| 140 | 136 |
| 141 } // namespace net | 137 } // namespace net |
| 142 | 138 |
| 143 #endif // NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ | 139 #endif // NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ |
| OLD | NEW |