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

Unified Diff: net/quic/quic_config.h

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_bandwidth_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 5328ef61710a68caa059f8171f3122274c9c5c27..a4d612978f2cdd688d44c21372fc4eea7de91314 100644
--- a/net/quic/quic_config.h
+++ b/net/quic/quic_config.h
@@ -68,6 +68,9 @@ class NET_EXPORT_PRIVATE QuicNegotiableValue : public QuicConfigValue {
}
protected:
+ void set_negotiated(bool negotiated) { negotiated_ = negotiated; }
+
+ private:
bool negotiated_;
};
@@ -307,6 +310,15 @@ class NET_EXPORT_PRIVATE QuicConfig {
return max_undecryptable_packets_;
}
+ bool HasSetBytesForConnectionIdToSend() const;
+
+ // Sets the peer's connection id length, in bytes.
+ void SetBytesForConnectionIdToSend(uint32 bytes);
+
+ bool HasReceivedBytesForConnectionId() const;
+
+ uint32 ReceivedBytesForConnectionId() const;
+
// Sets the peer's default initial congestion window in packets.
void SetInitialCongestionWindowToSend(size_t initial_window);
@@ -399,6 +411,8 @@ class NET_EXPORT_PRIVATE QuicConfig {
QuicNegotiableUint32 keepalive_timeout_seconds_;
// Maximum number of streams that the connection can support.
QuicNegotiableUint32 max_streams_per_connection_;
+ // The number of bytes required for the connection ID.
+ QuicFixedUint32 bytes_for_connection_id_;
// Initial congestion window in packets.
QuicFixedUint32 initial_congestion_window_;
// Initial round trip time estimate in microseconds.
« no previous file with comments | « net/quic/quic_bandwidth_test.cc ('k') | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698