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

Side by Side Diff: net/quic/quic_config.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_QUIC_CONFIG_H_ 5 #ifndef NET_QUIC_QUIC_CONFIG_H_
6 #define NET_QUIC_QUIC_CONFIG_H_ 6 #define NET_QUIC_QUIC_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 bool has_receive_values_; 249 bool has_receive_values_;
250 }; 250 };
251 251
252 // QuicConfig contains non-crypto configuration options that are negotiated in 252 // QuicConfig contains non-crypto configuration options that are negotiated in
253 // the crypto handshake. 253 // the crypto handshake.
254 class NET_EXPORT_PRIVATE QuicConfig { 254 class NET_EXPORT_PRIVATE QuicConfig {
255 public: 255 public:
256 QuicConfig(); 256 QuicConfig();
257 ~QuicConfig(); 257 ~QuicConfig();
258 258
259 void SetCongestionFeedback(const QuicTagVector& congestion_feedback,
260 QuicTag default_congestion_feedback);
261
262 QuicTag CongestionFeedback() const;
263
264 void SetConnectionOptionsToSend(const QuicTagVector& connection_options); 259 void SetConnectionOptionsToSend(const QuicTagVector& connection_options);
265 260
266 bool HasReceivedConnectionOptions() const; 261 bool HasReceivedConnectionOptions() const;
267 262
268 QuicTagVector ReceivedConnectionOptions() const; 263 QuicTagVector ReceivedConnectionOptions() const;
269 264
270 bool HasSendConnectionOptions() const; 265 bool HasSendConnectionOptions() const;
271 266
272 QuicTagVector SendConnectionOptions() const; 267 QuicTagVector SendConnectionOptions() const;
273 268
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 // Initial session flow control receive window in bytes. 400 // Initial session flow control receive window in bytes.
406 QuicFixedUint32 initial_session_flow_control_window_bytes_; 401 QuicFixedUint32 initial_session_flow_control_window_bytes_;
407 402
408 // Socket receive buffer in bytes. 403 // Socket receive buffer in bytes.
409 QuicFixedUint32 socket_receive_buffer_; 404 QuicFixedUint32 socket_receive_buffer_;
410 }; 405 };
411 406
412 } // namespace net 407 } // namespace net
413 408
414 #endif // NET_QUIC_QUIC_CONFIG_H_ 409 #endif // NET_QUIC_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/quic_ack_notifier_test.cc ('k') | net/quic/quic_config.cc » ('j') | shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698