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

Unified Diff: media/cast/net/rtp/rtp_sender.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/rtp_sender.h
diff --git a/media/cast/net/rtp/rtp_sender.h b/media/cast/net/rtp/rtp_sender.h
index 32083d0710208779e5b3d4136fb94377d4535344..68cb601626110995a15f64efb95bacfdff9aa9f4 100644
--- a/media/cast/net/rtp/rtp_sender.h
+++ b/media/cast/net/rtp/rtp_sender.h
@@ -49,11 +49,12 @@ class RtpSender {
// frame was just sent.
// Returns 0 if the frame cannot be found or the frame was only sent
// partially.
- int64 GetLastByteSentForFrame(uint32 frame_id);
+ int64_t GetLastByteSentForFrame(uint32_t frame_id);
- void CancelSendingFrames(const std::vector<uint32>& frame_ids);
+ void CancelSendingFrames(const std::vector<uint32_t>& frame_ids);
- void ResendFrameForKickstart(uint32 frame_id, base::TimeDelta dedupe_window);
+ void ResendFrameForKickstart(uint32_t frame_id,
+ base::TimeDelta dedupe_window);
size_t send_packet_count() const {
return packetizer_ ? packetizer_->send_packet_count() : 0;
@@ -61,7 +62,7 @@ class RtpSender {
size_t send_octet_count() const {
return packetizer_ ? packetizer_->send_octet_count() : 0;
}
- uint32 ssrc() const { return config_.ssrc; }
+ uint32_t ssrc() const { return config_.ssrc; }
private:
void UpdateSequenceNumber(Packet* packet);

Powered by Google App Engine
This is Rietveld 408576698