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

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

Issue 330333006: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linus_tsan error - reverted the change to ConnectionMigrationClientPortChanged unitttest Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_client_session_test.cc ('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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // Sets an estimated initial round trip time in us. 303 // Sets an estimated initial round trip time in us.
304 void SetInitialRoundTripTimeUsToSend(size_t rtt_us); 304 void SetInitialRoundTripTimeUsToSend(size_t rtt_us);
305 305
306 bool HasReceivedInitialRoundTripTimeUs() const; 306 bool HasReceivedInitialRoundTripTimeUs() const;
307 307
308 uint32 ReceivedInitialRoundTripTimeUs() const; 308 uint32 ReceivedInitialRoundTripTimeUs() const;
309 309
310 // Sets an initial flow control window size to transmit to the peer. 310 // Sets an initial flow control window size to transmit to the peer.
311 void SetInitialFlowControlWindowToSend(uint32 window_bytes); 311 void SetInitialFlowControlWindowToSend(uint32 window_bytes);
312 312
313 uint32 GetInitialFlowControlWindowToSend() const;
314
313 bool HasReceivedInitialFlowControlWindowBytes() const; 315 bool HasReceivedInitialFlowControlWindowBytes() const;
314 316
315 uint32 ReceivedInitialFlowControlWindowBytes() const; 317 uint32 ReceivedInitialFlowControlWindowBytes() const;
316 318
317 bool negotiated(); 319 bool negotiated();
318 320
319 // SetDefaults sets the members to sensible, default values. 321 // SetDefaults sets the members to sensible, default values.
320 void SetDefaults(); 322 void SetDefaults();
321 323
322 // Enabled pacing. 324 // Enabled pacing.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 QuicFixedUint32 initial_congestion_window_; 356 QuicFixedUint32 initial_congestion_window_;
355 // Initial round trip time estimate in microseconds. 357 // Initial round trip time estimate in microseconds.
356 QuicFixedUint32 initial_round_trip_time_us_; 358 QuicFixedUint32 initial_round_trip_time_us_;
357 // Initial flow control receive window in bytes. 359 // Initial flow control receive window in bytes.
358 QuicFixedUint32 initial_flow_control_window_bytes_; 360 QuicFixedUint32 initial_flow_control_window_bytes_;
359 }; 361 };
360 362
361 } // namespace net 363 } // namespace net
362 364
363 #endif // NET_QUIC_QUIC_CONFIG_H_ 365 #endif // NET_QUIC_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698