| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |