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

Unified Diff: media/cast/net/rtp/packet_storage.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 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/net/rtp/packet_storage.h
diff --git a/media/cast/net/rtp/packet_storage.h b/media/cast/net/rtp/packet_storage.h
index e086f8b29b15b9c511e60cc84d64bfe4858e3b74..370cf5d6adb70ba6e09766695458df7c57570efd 100644
--- a/media/cast/net/rtp/packet_storage.h
+++ b/media/cast/net/rtp/packet_storage.h
@@ -7,7 +7,6 @@
#include <deque>
-#include "base/basictypes.h"
#include "media/cast/net/pacing/paced_sender.h"
namespace media {
@@ -19,22 +18,22 @@ class PacketStorage {
virtual ~PacketStorage();
// Store all of the packets for a frame.
- void StoreFrame(uint32 frame_id, const SendPacketVector& packets);
+ void StoreFrame(uint32_t frame_id, const SendPacketVector& packets);
// Release all of the packets for a frame.
- void ReleaseFrame(uint32 frame_id);
+ void ReleaseFrame(uint32_t frame_id);
// Returns a list of packets for a frame indexed by a 8-bits ID.
// It is the lowest 8 bits of a frame ID.
// Returns NULL if the frame cannot be found.
- const SendPacketVector* GetFrame8(uint8 frame_id_8bits) const;
+ const SendPacketVector* GetFrame8(uint8_t frame_id_8bits) const;
// Get the number of stored frames.
size_t GetNumberOfStoredFrames() const;
private:
std::deque<SendPacketVector> frames_;
- uint32 first_frame_id_in_list_;
+ uint32_t first_frame_id_in_list_;
// The number of frames whose packets have been released, but the entry in the
// |frames_| queue has not yet been popped.

Powered by Google App Engine
This is Rietveld 408576698