Index: media/cast/transport/rtp_sender/packet_storage/packet_storage.h |
diff --git a/media/cast/net/rtp_sender/packet_storage/packet_storage.h b/media/cast/transport/rtp_sender/packet_storage/packet_storage.h |
similarity index 81% |
rename from media/cast/net/rtp_sender/packet_storage/packet_storage.h |
rename to media/cast/transport/rtp_sender/packet_storage/packet_storage.h |
index 34933ef5f6dc4b6d2eaf8303226f4164db441ad8..0c9ce3bf0a517df5d310721ffd328c1f84f001f0 100644 |
--- a/media/cast/net/rtp_sender/packet_storage/packet_storage.h |
+++ b/media/cast/transport/rtp_sender/packet_storage/packet_storage.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef MEDIA_CAST_NET_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |
-#define MEDIA_CAST_NET_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |
+#ifndef MEDIA_CAST_TRANSPORT_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |
+#define MEDIA_CAST_TRANSPORT_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |
#include <list> |
#include <map> |
@@ -18,6 +18,7 @@ |
namespace media { |
namespace cast { |
+namespace transport { |
class StoredPacket; |
typedef std::map<uint32, linked_ptr<StoredPacket> > PacketMap; |
@@ -25,7 +26,7 @@ typedef std::multimap<base::TimeTicks, uint32> TimeToPacketMap; |
class PacketStorage { |
public: |
- static const int kMaxStoredPackets = 1000; |
+ static const unsigned int kMaxStoredPackets = 1000; |
PacketStorage(base::TickClock* clock, int max_time_stored_ms); |
virtual ~PacketStorage(); |
@@ -49,7 +50,8 @@ class PacketStorage { |
std::list<linked_ptr<StoredPacket> > free_packets_; |
}; |
+} // namespace transport |
} // namespace cast |
} // namespace media |
-#endif // MEDIA_CAST_NET_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |
+#endif // MEDIA_CAST_TRANSPORT_RTP_SENDER_PACKET_STORAGE_PACKET_STORAGE_H_ |