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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 bool closed_is_first_stream_; | 124 bool closed_is_first_stream_; |
125 // Indicates whether initial headers have been sent. | 125 // Indicates whether initial headers have been sent. |
126 bool has_sent_headers_; | 126 bool has_sent_headers_; |
127 | 127 |
128 // Whether to automatically send request headers when stream is negotiated. | 128 // Whether to automatically send request headers when stream is negotiated. |
129 // If false, headers will not be sent until SendRequestHeaders() is called or | 129 // If false, headers will not be sent until SendRequestHeaders() is called or |
130 // until next SendData/SendvData, during which QUIC will try to combine header | 130 // until next SendData/SendvData, during which QUIC will try to combine header |
131 // frame with data frame in the same packet if possible. | 131 // frame with data frame in the same packet if possible. |
132 bool send_request_headers_automatically_; | 132 bool send_request_headers_automatically_; |
133 | 133 |
| 134 // True when callbacks to the delegate may be invoked synchronously. |
| 135 bool may_invoke_callbacks_; |
| 136 |
134 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_; | 137 base::WeakPtrFactory<BidirectionalStreamQuicImpl> weak_factory_; |
135 | 138 |
136 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl); | 139 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamQuicImpl); |
137 }; | 140 }; |
138 | 141 |
139 } // namespace net | 142 } // namespace net |
140 | 143 |
141 #endif // NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ | 144 #endif // NET_QUIC_CHROMIUM_BIDIRECTIONAL_STREAM_QUIC_IMPL_H_ |
OLD | NEW |