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

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

Issue 683263003: Turning off CID truncation for proxied connections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Protect_UpdateRTT_from_negative_deltas_78580114
Patch Set: Created 6 years, 1 month 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 } 303 }
304 304
305 void set_max_undecryptable_packets(size_t max_undecryptable_packets) { 305 void set_max_undecryptable_packets(size_t max_undecryptable_packets) {
306 max_undecryptable_packets_ = max_undecryptable_packets; 306 max_undecryptable_packets_ = max_undecryptable_packets;
307 } 307 }
308 308
309 size_t max_undecryptable_packets() const { 309 size_t max_undecryptable_packets() const {
310 return max_undecryptable_packets_; 310 return max_undecryptable_packets_;
311 } 311 }
312 312
313 bool HasSetBytesForConnectionIdToSend() const;
314
313 // Sets the peer's connection id length, in bytes. 315 // Sets the peer's connection id length, in bytes.
314 void SetBytesForConnectionIdToSend(uint32 bytes); 316 void SetBytesForConnectionIdToSend(uint32 bytes);
315 317
316 bool HasReceivedBytesForConnectionId() const; 318 bool HasReceivedBytesForConnectionId() const;
317 319
318 uint32 ReceivedBytesForConnectionId() const; 320 uint32 ReceivedBytesForConnectionId() const;
319 321
320 // Sets the peer's default initial congestion window in packets. 322 // Sets the peer's default initial congestion window in packets.
321 void SetInitialCongestionWindowToSend(size_t initial_window); 323 void SetInitialCongestionWindowToSend(size_t initial_window);
322 324
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // Initial session flow control receive window in bytes. 427 // Initial session flow control receive window in bytes.
426 QuicFixedUint32 initial_session_flow_control_window_bytes_; 428 QuicFixedUint32 initial_session_flow_control_window_bytes_;
427 429
428 // Socket receive buffer in bytes. 430 // Socket receive buffer in bytes.
429 QuicFixedUint32 socket_receive_buffer_; 431 QuicFixedUint32 socket_receive_buffer_;
430 }; 432 };
431 433
432 } // namespace net 434 } // namespace net
433 435
434 #endif // NET_QUIC_QUIC_CONFIG_H_ 436 #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