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

Unified Diff: media/cast/transport/rtp_sender/packet_storage/packet_storage.h

Issue 100823015: Cast: move net->transport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating transport callback Created 7 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 side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « media/cast/transport/rtp_sender/mock_rtp_sender.h ('k') | media/cast/transport/rtp_sender/packet_storage/packet_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698