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

Side by Side Diff: net/quic/core/stream_notifier_interface.h

Issue 2916033003: Landing Recent QUIC changes until 03:18 AM, May 28, UTC (Closed)
Patch Set: A few more EXPORTs. Created 3 years, 6 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/core/quic_unacked_packet_map.cc ('k') | net/quic/quartc/quartc_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_QUIC_CORE_STREAM_NOTIFIER_INTERFACE_H_
6 #define NET_QUIC_CORE_STREAM_NOTIFIER_INTERFACE_H_
7
8 #include "net/quic/core/frames/quic_stream_frame.h"
9 #include "net/quic/core/quic_time.h"
10
11 namespace net {
12
13 // Pure virtual class to be notified when a packet containing a stream frame is
14 // acked or lost.
15 class QUIC_EXPORT_PRIVATE StreamNotifierInterface {
16 public:
17 virtual ~StreamNotifierInterface() {}
18
19 // Called when |frame| is acked.
20 virtual void OnStreamFrameAcked(const QuicStreamFrame& frame,
21 QuicTime::Delta ack_delay_time) = 0;
22
23 // Called when |frame| is retransmitted.
24 virtual void OnStreamFrameRetransmitted(const QuicStreamFrame& frame) = 0;
25 };
26
27 } // namespace net
28
29 #endif // NET_QUIC_CORE_STREAM_NOTIFIER_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_unacked_packet_map.cc ('k') | net/quic/quartc/quartc_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698