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

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

Issue 573763003: client-only - Change QUIC clients to use the initial RTT estimate that (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Increase_flow_control_receive_window_75381087
Patch Set: Created 6 years, 3 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/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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 uint32 ReceivedInitialCongestionWindow() const; 305 uint32 ReceivedInitialCongestionWindow() const;
306 306
307 // Sets an estimated initial round trip time in us. 307 // Sets an estimated initial round trip time in us.
308 void SetInitialRoundTripTimeUsToSend(size_t rtt_us); 308 void SetInitialRoundTripTimeUsToSend(size_t rtt_us);
309 309
310 bool HasReceivedInitialRoundTripTimeUs() const; 310 bool HasReceivedInitialRoundTripTimeUs() const;
311 311
312 uint32 ReceivedInitialRoundTripTimeUs() const; 312 uint32 ReceivedInitialRoundTripTimeUs() const;
313 313
314 bool HasInitialRoundTripTimeUsToSend() const;
315
316 uint32 GetInitialRoundTripTimeUsToSend() const;
317
314 // TODO(rjshade): Remove all InitialFlowControlWindow methods when removing 318 // TODO(rjshade): Remove all InitialFlowControlWindow methods when removing
315 // QUIC_VERSION_19. 319 // QUIC_VERSION_19.
316 // Sets an initial stream flow control window size to transmit to the peer. 320 // Sets an initial stream flow control window size to transmit to the peer.
317 void SetInitialFlowControlWindowToSend(uint32 window_bytes); 321 void SetInitialFlowControlWindowToSend(uint32 window_bytes);
318 322
319 uint32 GetInitialFlowControlWindowToSend() const; 323 uint32 GetInitialFlowControlWindowToSend() const;
320 324
321 bool HasReceivedInitialFlowControlWindowBytes() const; 325 bool HasReceivedInitialFlowControlWindowBytes() const;
322 326
323 uint32 ReceivedInitialFlowControlWindowBytes() const; 327 uint32 ReceivedInitialFlowControlWindowBytes() const;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // Initial session flow control receive window in bytes. 400 // Initial session flow control receive window in bytes.
397 QuicFixedUint32 initial_session_flow_control_window_bytes_; 401 QuicFixedUint32 initial_session_flow_control_window_bytes_;
398 402
399 // Socket receive buffer in bytes. 403 // Socket receive buffer in bytes.
400 QuicFixedUint32 socket_receive_buffer_; 404 QuicFixedUint32 socket_receive_buffer_;
401 }; 405 };
402 406
403 } // namespace net 407 } // namespace net
404 408
405 #endif // NET_QUIC_QUIC_CONFIG_H_ 409 #endif // NET_QUIC_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698