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

Unified Diff: net/quic/quic_config.h

Issue 14816006: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_PRIVATE_EXPORT to QuicWallTime Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_clock_test.cc ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_config.h
diff --git a/net/quic/quic_config.h b/net/quic/quic_config.h
index 17441d724d13161b9fe80ba613669a602c30e88e..013a4f2ca39c97167031c96b3d67653bb92c9b46 100644
--- a/net/quic/quic_config.h
+++ b/net/quic/quic_config.h
@@ -19,7 +19,7 @@ class NET_EXPORT_PRIVATE QuicNegotiatedParameters {
public:
QuicNegotiatedParameters();
- CryptoTag congestion_control;
+ QuicTag congestion_control;
QuicTime::Delta idle_connection_state_lifetime;
QuicTime::Delta keepalive_timeout;
};
@@ -31,6 +31,11 @@ class NET_EXPORT_PRIVATE QuicConfig {
QuicConfig();
~QuicConfig();
+ void set_idle_connection_state_lifetime(
+ QuicTime::Delta idle_connection_state_lifetime) {
+ idle_connection_state_lifetime_ = idle_connection_state_lifetime;
+ }
+
// SetDefaults sets the members to sensible, default values.
void SetDefaults();
@@ -54,7 +59,7 @@ class NET_EXPORT_PRIVATE QuicConfig {
private:
// Congestion control feedback type.
- CryptoTagVector congestion_control_;
+ QuicTagVector congestion_control_;
// Idle connection state lifetime
QuicTime::Delta idle_connection_state_lifetime_;
// Keepalive timeout, or 0 to turn off keepalive probes
« no previous file with comments | « net/quic/quic_clock_test.cc ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698