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

Side by Side Diff: net/quic/chromium/bidirectional_stream_quic_impl.h

Issue 2848923004: Move the "wait for QUIC handshake confirmation" logic to QuicChromiumClientSession::StreamRequest (Closed)
Patch Set: fix Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698