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

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

Issue 2104633002: Landing recent QUIC changes until 6/24/2016 14:00 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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/quic_sent_packet_manager.cc ('k') | net/quic/quic_sent_packet_manager_test.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SENT_PACKET_MANAGER_INTERFACE_H_ 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/quic/quic_protocol.h" 9 #include "net/quic/quic_protocol.h"
10 #include "net/quic/quic_sustained_bandwidth_recorder.h" 10 #include "net/quic/quic_sustained_bandwidth_recorder.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual ~NetworkChangeVisitor() {} 47 virtual ~NetworkChangeVisitor() {}
48 48
49 // Called when congestion window or RTT may have changed. 49 // Called when congestion window or RTT may have changed.
50 virtual void OnCongestionChange() = 0; 50 virtual void OnCongestionChange() = 0;
51 51
52 // Called with the path may be degrading. Note that the path may only be 52 // Called with the path may be degrading. Note that the path may only be
53 // temporarily degrading. 53 // temporarily degrading.
54 // TODO(jri): With multipath, this method should probably have a path_id 54 // TODO(jri): With multipath, this method should probably have a path_id
55 // parameter, and should maybe result in the path being marked as inactive. 55 // parameter, and should maybe result in the path being marked as inactive.
56 virtual void OnPathDegrading() = 0; 56 virtual void OnPathDegrading() = 0;
57
58 // Called when the Path MTU may have increased.
59 virtual void OnPathMtuIncreased(QuicPacketLength packet_size) = 0;
57 }; 60 };
58 61
59 virtual ~QuicSentPacketManagerInterface() {} 62 virtual ~QuicSentPacketManagerInterface() {}
60 63
61 virtual void SetFromConfig(const QuicConfig& config) = 0; 64 virtual void SetFromConfig(const QuicConfig& config) = 0;
62 65
63 // Resumes connection state on the default path. 66 // Resumes connection state on the default path.
64 virtual void ResumeConnectionState( 67 virtual void ResumeConnectionState(
65 const CachedNetworkParameters& cached_network_params, 68 const CachedNetworkParameters& cached_network_params,
66 bool max_bandwidth_resumption) = 0; 69 bool max_bandwidth_resumption) = 0;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 188
186 // These two methods return the consecutive RTO or TLP count of the default 189 // These two methods return the consecutive RTO or TLP count of the default
187 // path. 190 // path.
188 virtual size_t GetConsecutiveRtoCount() const = 0; 191 virtual size_t GetConsecutiveRtoCount() const = 0;
189 virtual size_t GetConsecutiveTlpCount() const = 0; 192 virtual size_t GetConsecutiveTlpCount() const = 0;
190 }; 193 };
191 194
192 } // namespace net 195 } // namespace net
193 196
194 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ 197 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/quic/quic_sent_packet_manager.cc ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698