Index: content/browser/renderer_host/p2p/socket_host.h |
diff --git a/content/browser/renderer_host/p2p/socket_host.h b/content/browser/renderer_host/p2p/socket_host.h |
index 86eff5dfb717afd099ea491a8d98a0051b3f58c5..d80b438ba1725838cb58bf052f528e49671b1033 100644 |
--- a/content/browser/renderer_host/p2p/socket_host.h |
+++ b/content/browser/renderer_host/p2p/socket_host.h |
@@ -33,18 +33,20 @@ namespace packet_processing_helpers { |
// called. It will try to do, 1. update absolute send time extension header |
// if present with current time and 2. update HMAC in RTP packet. |
// If abs_send_time is 0, ApplyPacketOption will get current time from system. |
-CONTENT_EXPORT bool ApplyPacketOptions(char* data, int length, |
+CONTENT_EXPORT bool ApplyPacketOptions(char* data, size_t length, |
const rtc::PacketOptions& options, |
uint32 abs_send_time); |
// Helper method which finds RTP ofset and length if the packet is encapsulated |
// in a TURN Channel Message or TURN Send Indication message. |
-CONTENT_EXPORT bool GetRtpPacketStartPositionAndLength(const char* data, |
- int length, |
- int* rtp_start_pos, |
- int* rtp_packet_length); |
+CONTENT_EXPORT bool GetRtpPacketStartPositionAndLength( |
+ const char* data, |
+ size_t length, |
+ size_t* rtp_start_pos, |
+ size_t* rtp_packet_length); |
+ |
// Helper method which updates absoulute send time extension if present. |
-CONTENT_EXPORT bool UpdateRtpAbsSendTimeExtn(char* rtp, int length, |
+CONTENT_EXPORT bool UpdateRtpAbsSendTimeExtn(char* rtp, size_t length, |
int extension_id, |
uint32 abs_send_time); |