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

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

Issue 605733006: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Patch Set 3 Created 6 years, 2 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/crypto/source_address_token.h ('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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 void SetConnectionOptionsToSend(const QuicTagVector& connection_options); 266 void SetConnectionOptionsToSend(const QuicTagVector& connection_options);
267 267
268 bool HasReceivedConnectionOptions() const; 268 bool HasReceivedConnectionOptions() const;
269 269
270 QuicTagVector ReceivedConnectionOptions() const; 270 QuicTagVector ReceivedConnectionOptions() const;
271 271
272 bool HasSendConnectionOptions() const; 272 bool HasSendConnectionOptions() const;
273 273
274 QuicTagVector SendConnectionOptions() const; 274 QuicTagVector SendConnectionOptions() const;
275 275
276 void SetLossDetectionToSend(QuicTag loss_detection);
277
278 bool HasReceivedLossDetection() const;
279
280 QuicTag ReceivedLossDetection() const;
281
282 void set_idle_connection_state_lifetime( 276 void set_idle_connection_state_lifetime(
283 QuicTime::Delta max_idle_connection_state_lifetime, 277 QuicTime::Delta max_idle_connection_state_lifetime,
284 QuicTime::Delta default_idle_conection_state_lifetime); 278 QuicTime::Delta default_idle_conection_state_lifetime);
285 279
286 QuicTime::Delta idle_connection_state_lifetime() const; 280 QuicTime::Delta idle_connection_state_lifetime() const;
287 281
288 QuicTime::Delta keepalive_timeout() const; 282 QuicTime::Delta keepalive_timeout() const;
289 283
290 void set_max_streams_per_connection(size_t max_streams, 284 void set_max_streams_per_connection(size_t max_streams,
291 size_t default_streams); 285 size_t default_streams);
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 HelloType hello_type, 362 HelloType hello_type,
369 std::string* error_details); 363 std::string* error_details);
370 364
371 private: 365 private:
372 friend class test::QuicConfigPeer; 366 friend class test::QuicConfigPeer;
373 367
374 // Congestion control feedback type. 368 // Congestion control feedback type.
375 QuicNegotiableTag congestion_feedback_; 369 QuicNegotiableTag congestion_feedback_;
376 // Connection options. 370 // Connection options.
377 QuicFixedTagVector connection_options_; 371 QuicFixedTagVector connection_options_;
378 // Loss detection feedback type.
379 QuicFixedTag loss_detection_;
380 // Idle connection state lifetime 372 // Idle connection state lifetime
381 QuicNegotiableUint32 idle_connection_state_lifetime_seconds_; 373 QuicNegotiableUint32 idle_connection_state_lifetime_seconds_;
382 // Keepalive timeout, or 0 to turn off keepalive probes 374 // Keepalive timeout, or 0 to turn off keepalive probes
383 QuicNegotiableUint32 keepalive_timeout_seconds_; 375 QuicNegotiableUint32 keepalive_timeout_seconds_;
384 // Maximum number of streams that the connection can support. 376 // Maximum number of streams that the connection can support.
385 QuicNegotiableUint32 max_streams_per_connection_; 377 QuicNegotiableUint32 max_streams_per_connection_;
386 // Maximum time till the session can be alive before crypto handshake is 378 // Maximum time till the session can be alive before crypto handshake is
387 // finished. (Not negotiated). 379 // finished. (Not negotiated).
388 QuicTime::Delta max_time_before_crypto_handshake_; 380 QuicTime::Delta max_time_before_crypto_handshake_;
389 // Initial congestion window in packets. 381 // Initial congestion window in packets.
(...skipping 10 matching lines...) Expand all
400 // Initial session flow control receive window in bytes. 392 // Initial session flow control receive window in bytes.
401 QuicFixedUint32 initial_session_flow_control_window_bytes_; 393 QuicFixedUint32 initial_session_flow_control_window_bytes_;
402 394
403 // Socket receive buffer in bytes. 395 // Socket receive buffer in bytes.
404 QuicFixedUint32 socket_receive_buffer_; 396 QuicFixedUint32 socket_receive_buffer_;
405 }; 397 };
406 398
407 } // namespace net 399 } // namespace net
408 400
409 #endif // NET_QUIC_QUIC_CONFIG_H_ 401 #endif // NET_QUIC_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/source_address_token.h ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698