diff options
author | avi <avi@chromium.org> | 2015-12-25 17:09:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-26 01:10:32 +0000 |
commit | 6846aeff59836d8064ad90a934c60829575a970e (patch) | |
tree | 81582da159992a636983c3346fc291e5cb6151cb /chrome/browser/media/webrtc_rtp_dump_writer.h | |
parent | e4d7b6ff9e03d4d0ee39e270bd1ad5ddf0d6af5a (diff) | |
download | chromium_src-6846aeff59836d8064ad90a934c60829575a970e.zip chromium_src-6846aeff59836d8064ad90a934c60829575a970e.tar.gz chromium_src-6846aeff59836d8064ad90a934c60829575a970e.tar.bz2 |
Switch to standard integer types in chrome/browser/, part 2 of 4.
BUG=138542
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/1550593002
Cr-Commit-Position: refs/heads/master@{#366879}
Diffstat (limited to 'chrome/browser/media/webrtc_rtp_dump_writer.h')
-rw-r--r-- | chrome/browser/media/webrtc_rtp_dump_writer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/browser/media/webrtc_rtp_dump_writer.h b/chrome/browser/media/webrtc_rtp_dump_writer.h index 0901cc6..8124ced 100644 --- a/chrome/browser/media/webrtc_rtp_dump_writer.h +++ b/chrome/browser/media/webrtc_rtp_dump_writer.h @@ -5,9 +5,12 @@ #ifndef CHROME_BROWSER_MEDIA_WEBRTC_RTP_DUMP_WRITER_H_ #define CHROME_BROWSER_MEDIA_WEBRTC_RTP_DUMP_WRITER_H_ -#include "base/basictypes.h" +#include <stddef.h> +#include <stdint.h> + #include "base/callback.h" #include "base/files/file_path.h" +#include "base/macros.h" #include "base/memory/weak_ptr.h" #include "base/threading/thread_checker.h" #include "base/time/time.h" @@ -45,7 +48,7 @@ class WebRtcRtpDumpWriter { // Adds a RTP packet to the dump. The caller must make sure it's a valid RTP // packet. No validation is done by this method. - virtual void WriteRtpPacket(const uint8* packet_header, + virtual void WriteRtpPacket(const uint8_t* packet_header, size_t header_length, size_t packet_length, bool incoming); @@ -112,8 +115,8 @@ class WebRtcRtpDumpWriter { const base::Closure max_dump_size_reached_callback_; // The in-memory buffers for the uncompressed dumps. - std::vector<uint8> incoming_buffer_; - std::vector<uint8> outgoing_buffer_; + std::vector<uint8_t> incoming_buffer_; + std::vector<uint8_t> outgoing_buffer_; // The time when the first packet is dumped. base::TimeTicks start_time_; |