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

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

Issue 2739313002: Remove multipath_enabled from quic_config and quic_connection. No functional change expected. (Closed)
Patch Set: Created 3 years, 9 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/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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 344
345 uint32_t ReceivedInitialSessionFlowControlWindowBytes() const; 345 uint32_t ReceivedInitialSessionFlowControlWindowBytes() const;
346 346
347 // Sets socket receive buffer to transmit to the peer. 347 // Sets socket receive buffer to transmit to the peer.
348 void SetSocketReceiveBufferToSend(uint32_t window_bytes); 348 void SetSocketReceiveBufferToSend(uint32_t window_bytes);
349 349
350 bool HasReceivedSocketReceiveBuffer() const; 350 bool HasReceivedSocketReceiveBuffer() const;
351 351
352 uint32_t ReceivedSocketReceiveBuffer() const; 352 uint32_t ReceivedSocketReceiveBuffer() const;
353 353
354 void SetMultipathEnabled(bool multipath_enabled);
355
356 bool MultipathEnabled() const;
357
358 void SetDisableConnectionMigration(); 354 void SetDisableConnectionMigration();
359 355
360 bool DisableConnectionMigration() const; 356 bool DisableConnectionMigration() const;
361 357
362 void SetAlternateServerAddressToSend( 358 void SetAlternateServerAddressToSend(
363 const QuicSocketAddress& alternate_server_address); 359 const QuicSocketAddress& alternate_server_address);
364 360
365 bool HasReceivedAlternateServerAddress() const; 361 bool HasReceivedAlternateServerAddress() const;
366 362
367 const QuicSocketAddress& ReceivedAlternateServerAddress() const; 363 const QuicSocketAddress& ReceivedAlternateServerAddress() const;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 417
422 // Initial stream flow control receive window in bytes. 418 // Initial stream flow control receive window in bytes.
423 QuicFixedUint32 initial_stream_flow_control_window_bytes_; 419 QuicFixedUint32 initial_stream_flow_control_window_bytes_;
424 // Initial session flow control receive window in bytes. 420 // Initial session flow control receive window in bytes.
425 QuicFixedUint32 initial_session_flow_control_window_bytes_; 421 QuicFixedUint32 initial_session_flow_control_window_bytes_;
426 422
427 // Socket receive buffer in bytes. 423 // Socket receive buffer in bytes.
428 // TODO(ianswett): Deprecate once QUIC_VERSION_34 is deprecated. 424 // TODO(ianswett): Deprecate once QUIC_VERSION_34 is deprecated.
429 QuicFixedUint32 socket_receive_buffer_; 425 QuicFixedUint32 socket_receive_buffer_;
430 426
431 // Whether to support multipath for this connection.
432 QuicNegotiableUint32 multipath_enabled_;
433
434 // Whether tell peer not to attempt connection migration. 427 // Whether tell peer not to attempt connection migration.
435 QuicFixedUint32 connection_migration_disabled_; 428 QuicFixedUint32 connection_migration_disabled_;
436 429
437 // An alternate server address the client could connect to. 430 // An alternate server address the client could connect to.
438 QuicFixedSocketAddress alternate_server_address_; 431 QuicFixedSocketAddress alternate_server_address_;
439 432
440 // Force HOL blocking for measurement purposes. 433 // Force HOL blocking for measurement purposes.
441 QuicFixedUint32 force_hol_blocking_; 434 QuicFixedUint32 force_hol_blocking_;
442 435
443 // Whether support HTTP/2 SETTINGS_MAX_HEADER_LIST_SIZE SETTINGS frame. 436 // Whether support HTTP/2 SETTINGS_MAX_HEADER_LIST_SIZE SETTINGS frame.
444 QuicFixedUint32 support_max_header_list_size_; 437 QuicFixedUint32 support_max_header_list_size_;
445 }; 438 };
446 439
447 } // namespace net 440 } // namespace net
448 441
449 #endif // NET_QUIC_CORE_QUIC_CONFIG_H_ 442 #endif // NET_QUIC_CORE_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/core/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698