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

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

Issue 2561893002: Add QUIC_EXPORT macros (Closed)
Patch Set: More Created 4 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 unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_pending_retransmission.h ('k') | net/quic/core/quic_sent_packet_manager.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CORE_QUIC_RECEIVED_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_CORE_QUIC_RECEIVED_PACKET_MANAGER_H_
6 #define NET_QUIC_CORE_QUIC_RECEIVED_PACKET_MANAGER_H_ 6 #define NET_QUIC_CORE_QUIC_RECEIVED_PACKET_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <deque> 10 #include <deque>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "net/base/net_export.h"
14 #include "net/quic/core/quic_config.h" 13 #include "net/quic/core/quic_config.h"
15 #include "net/quic/core/quic_framer.h" 14 #include "net/quic/core/quic_framer.h"
16 #include "net/quic/core/quic_packets.h" 15 #include "net/quic/core/quic_packets.h"
16 #include "net/quic/platform/api/quic_export.h"
17 17
18 namespace net { 18 namespace net {
19 19
20 namespace test { 20 namespace test {
21 class QuicConnectionPeer; 21 class QuicConnectionPeer;
22 class QuicReceivedPacketManagerPeer; 22 class QuicReceivedPacketManagerPeer;
23 } // namespace test 23 } // namespace test
24 24
25 struct QuicConnectionStats; 25 struct QuicConnectionStats;
26 26
27 // Records all received packets by a connection. 27 // Records all received packets by a connection.
28 class NET_EXPORT_PRIVATE QuicReceivedPacketManager { 28 class QUIC_EXPORT_PRIVATE QuicReceivedPacketManager {
29 public: 29 public:
30 explicit QuicReceivedPacketManager(QuicConnectionStats* stats); 30 explicit QuicReceivedPacketManager(QuicConnectionStats* stats);
31 virtual ~QuicReceivedPacketManager(); 31 virtual ~QuicReceivedPacketManager();
32 32
33 // Updates the internal state concerning which packets have been received. 33 // Updates the internal state concerning which packets have been received.
34 // header: the packet header. 34 // header: the packet header.
35 // timestamp: the arrival time of the packet. 35 // timestamp: the arrival time of the packet.
36 virtual void RecordPacketReceived(const QuicPacketHeader& header, 36 virtual void RecordPacketReceived(const QuicPacketHeader& header,
37 QuicTime receipt_time); 37 QuicTime receipt_time);
38 38
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 QuicTime time_largest_observed_; 96 QuicTime time_largest_observed_;
97 97
98 QuicConnectionStats* stats_; 98 QuicConnectionStats* stats_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager); 100 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager);
101 }; 101 };
102 102
103 } // namespace net 103 } // namespace net
104 104
105 #endif // NET_QUIC_CORE_QUIC_RECEIVED_PACKET_MANAGER_H_ 105 #endif // NET_QUIC_CORE_QUIC_RECEIVED_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_pending_retransmission.h ('k') | net/quic/core/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698