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

Unified Diff: net/quic/quic_connection.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_config.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index abab048752a4b4dbaae665fc5e97be53a04cddbb..14c45a1e9918985fdc164391600b718faf501b5f 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -260,8 +260,8 @@ class NET_EXPORT_PRIVATE QuicConnection
void SetFromConfig(const QuicConfig& config);
// Called by the Session when the client has provided CachedNetworkParameters.
- // Virtual for tests.
- virtual void ResumeConnectionState(
+ // Returns true if this changes the initial connection state.
+ virtual bool ResumeConnectionState(
const CachedNetworkParameters& cached_network_params);
// Sets the number of active streams on the connection for congestion control.
@@ -753,7 +753,7 @@ class NET_EXPORT_PRIVATE QuicConnection
// Indicates whether an ack should be sent the next time we try to write.
bool ack_queued_;
// Indicates how many consecutive packets have arrived without sending an ack.
- uint32 num_packets_received_since_last_ack_sent_;
+ QuicPacketCount num_packets_received_since_last_ack_sent_;
// Indicates how many consecutive times an ack has arrived which indicates
// the peer needs to stop waiting for some packets.
int stop_waiting_count_;
« no previous file with comments | « net/quic/quic_config.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698