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

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

Issue 851503003: Update from https://crrev.com/311076 (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
« no previous file with comments | « net/quic/crypto/crypto_protocol.h ('k') | net/quic/quic_config.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 (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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 void SetInitialRoundTripTimeUsToSend(uint32 rtt_us); 325 void SetInitialRoundTripTimeUsToSend(uint32 rtt_us);
326 326
327 bool HasReceivedInitialRoundTripTimeUs() const; 327 bool HasReceivedInitialRoundTripTimeUs() const;
328 328
329 uint32 ReceivedInitialRoundTripTimeUs() const; 329 uint32 ReceivedInitialRoundTripTimeUs() const;
330 330
331 bool HasInitialRoundTripTimeUsToSend() const; 331 bool HasInitialRoundTripTimeUsToSend() const;
332 332
333 uint32 GetInitialRoundTripTimeUsToSend() const; 333 uint32 GetInitialRoundTripTimeUsToSend() const;
334 334
335 // TODO(rjshade): Remove all InitialFlowControlWindow methods when removing
336 // QUIC_VERSION_19.
337 // Sets an initial stream flow control window size to transmit to the peer.
338 void SetInitialFlowControlWindowToSend(uint32 window_bytes);
339
340 uint32 GetInitialFlowControlWindowToSend() const;
341
342 bool HasReceivedInitialFlowControlWindowBytes() const;
343
344 uint32 ReceivedInitialFlowControlWindowBytes() const;
345
346 // Sets an initial stream flow control window size to transmit to the peer. 335 // Sets an initial stream flow control window size to transmit to the peer.
347 void SetInitialStreamFlowControlWindowToSend(uint32 window_bytes); 336 void SetInitialStreamFlowControlWindowToSend(uint32 window_bytes);
348 337
349 uint32 GetInitialStreamFlowControlWindowToSend() const; 338 uint32 GetInitialStreamFlowControlWindowToSend() const;
350 339
351 bool HasReceivedInitialStreamFlowControlWindowBytes() const; 340 bool HasReceivedInitialStreamFlowControlWindowBytes() const;
352 341
353 uint32 ReceivedInitialStreamFlowControlWindowBytes() const; 342 uint32 ReceivedInitialStreamFlowControlWindowBytes() const;
354 343
355 // Sets an initial session flow control window size to transmit to the peer. 344 // Sets an initial session flow control window size to transmit to the peer.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 QuicNegotiableUint32 idle_connection_state_lifetime_seconds_; 393 QuicNegotiableUint32 idle_connection_state_lifetime_seconds_;
405 // Whether to use silent close. Defaults to 0 (false) and is otherwise true. 394 // Whether to use silent close. Defaults to 0 (false) and is otherwise true.
406 QuicNegotiableUint32 silent_close_; 395 QuicNegotiableUint32 silent_close_;
407 // Maximum number of streams that the connection can support. 396 // Maximum number of streams that the connection can support.
408 QuicNegotiableUint32 max_streams_per_connection_; 397 QuicNegotiableUint32 max_streams_per_connection_;
409 // The number of bytes required for the connection ID. 398 // The number of bytes required for the connection ID.
410 QuicFixedUint32 bytes_for_connection_id_; 399 QuicFixedUint32 bytes_for_connection_id_;
411 // Initial round trip time estimate in microseconds. 400 // Initial round trip time estimate in microseconds.
412 QuicFixedUint32 initial_round_trip_time_us_; 401 QuicFixedUint32 initial_round_trip_time_us_;
413 402
414 // TODO(rjshade): Remove when removing QUIC_VERSION_19.
415 // Initial flow control receive window in bytes.
416 QuicFixedUint32 initial_flow_control_window_bytes_;
417
418 // Initial stream flow control receive window in bytes. 403 // Initial stream flow control receive window in bytes.
419 QuicFixedUint32 initial_stream_flow_control_window_bytes_; 404 QuicFixedUint32 initial_stream_flow_control_window_bytes_;
420 // Initial session flow control receive window in bytes. 405 // Initial session flow control receive window in bytes.
421 QuicFixedUint32 initial_session_flow_control_window_bytes_; 406 QuicFixedUint32 initial_session_flow_control_window_bytes_;
422 407
423 // Socket receive buffer in bytes. 408 // Socket receive buffer in bytes.
424 QuicFixedUint32 socket_receive_buffer_; 409 QuicFixedUint32 socket_receive_buffer_;
425 }; 410 };
426 411
427 } // namespace net 412 } // namespace net
428 413
429 #endif // NET_QUIC_QUIC_CONFIG_H_ 414 #endif // NET_QUIC_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_protocol.h ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698