OLD | NEW |
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 MEDIA_CAST_RTP_SENDER_PACKET_STORAGE_INCLUDE_PACKET_STORAGE_H_ | 5 #ifndef MEDIA_CAST_NET_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |
6 #define MEDIA_CAST_RTP_SENDER_PACKET_STORAGE_INCLUDE_PACKET_STORAGE_H_ | 6 #define MEDIA_CAST_NET_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/time/tick_clock.h" | 15 #include "base/time/tick_clock.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
(...skipping 28 matching lines...) Expand all Loading... |
45 base::TickClock* const clock_; // Not owned by this class. | 45 base::TickClock* const clock_; // Not owned by this class. |
46 base::TimeDelta max_time_stored_; | 46 base::TimeDelta max_time_stored_; |
47 PacketMap stored_packets_; | 47 PacketMap stored_packets_; |
48 TimeToPacketMap time_to_packet_map_; | 48 TimeToPacketMap time_to_packet_map_; |
49 std::list<linked_ptr<StoredPacket> > free_packets_; | 49 std::list<linked_ptr<StoredPacket> > free_packets_; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace cast | 52 } // namespace cast |
53 } // namespace media | 53 } // namespace media |
54 | 54 |
55 #endif // MEDIA_CAST_RTP_SENDER_PACKET_STORAGE_INCLUDE_PACKET_STORAGE_H_ | 55 #endif // MEDIA_CAST_NET_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |
OLD | NEW |