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

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

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 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/core/quic_client_session_base.cc ('k') | net/quic/core/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_CORE_QUIC_CONFIG_H_ 5 #ifndef NET_QUIC_CORE_QUIC_CONFIG_H_
6 #define NET_QUIC_CORE_QUIC_CONFIG_H_ 6 #define NET_QUIC_CORE_QUIC_CONFIG_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 #include <cstdint> 9 #include <cstdint>
10 #include <string> 10 #include <string>
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 // Sets an initial session flow control window size to transmit to the peer. 338 // Sets an initial session flow control window size to transmit to the peer.
339 void SetInitialSessionFlowControlWindowToSend(uint32_t window_bytes); 339 void SetInitialSessionFlowControlWindowToSend(uint32_t window_bytes);
340 340
341 uint32_t GetInitialSessionFlowControlWindowToSend() const; 341 uint32_t GetInitialSessionFlowControlWindowToSend() const;
342 342
343 bool HasReceivedInitialSessionFlowControlWindowBytes() const; 343 bool HasReceivedInitialSessionFlowControlWindowBytes() const;
344 344
345 uint32_t ReceivedInitialSessionFlowControlWindowBytes() const; 345 uint32_t ReceivedInitialSessionFlowControlWindowBytes() const;
346 346
347 // Sets socket receive buffer to transmit to the peer.
348 void SetSocketReceiveBufferToSend(uint32_t window_bytes);
349
350 bool HasReceivedSocketReceiveBuffer() const;
351
352 uint32_t ReceivedSocketReceiveBuffer() const;
353
354 void SetDisableConnectionMigration(); 347 void SetDisableConnectionMigration();
355 348
356 bool DisableConnectionMigration() const; 349 bool DisableConnectionMigration() const;
357 350
358 void SetAlternateServerAddressToSend( 351 void SetAlternateServerAddressToSend(
359 const QuicSocketAddress& alternate_server_address); 352 const QuicSocketAddress& alternate_server_address);
360 353
361 bool HasReceivedAlternateServerAddress() const; 354 bool HasReceivedAlternateServerAddress() const;
362 355
363 const QuicSocketAddress& ReceivedAlternateServerAddress() const; 356 const QuicSocketAddress& ReceivedAlternateServerAddress() const;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 QuicFixedUint32 connection_migration_disabled_; 421 QuicFixedUint32 connection_migration_disabled_;
429 422
430 // An alternate server address the client could connect to. 423 // An alternate server address the client could connect to.
431 QuicFixedSocketAddress alternate_server_address_; 424 QuicFixedSocketAddress alternate_server_address_;
432 425
433 // Force HOL blocking for measurement purposes. 426 // Force HOL blocking for measurement purposes.
434 QuicFixedUint32 force_hol_blocking_; 427 QuicFixedUint32 force_hol_blocking_;
435 428
436 // Whether support HTTP/2 SETTINGS_MAX_HEADER_LIST_SIZE SETTINGS frame. 429 // Whether support HTTP/2 SETTINGS_MAX_HEADER_LIST_SIZE SETTINGS frame.
437 QuicFixedUint32 support_max_header_list_size_; 430 QuicFixedUint32 support_max_header_list_size_;
438
439 // Latched copy of FLAGS_quic_reloadable_flag_quic_no_socket_receive_buffer
440 bool latched_no_socket_receive_buffer_;
441 }; 431 };
442 432
443 } // namespace net 433 } // namespace net
444 434
445 #endif // NET_QUIC_CORE_QUIC_CONFIG_H_ 435 #endif // NET_QUIC_CORE_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_client_session_base.cc ('k') | net/quic/core/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698