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

Unified Diff: chrome/browser/media/webrtc_rtp_dump_writer.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/media/webrtc_rtp_dump_writer.h
diff --git a/chrome/browser/media/webrtc_rtp_dump_writer.h b/chrome/browser/media/webrtc_rtp_dump_writer.h
index 0901cc6b5fcf18e64a4e80ced88b719f6741dc79..8124ced9e0f011d071b941ccab558abd242aff35 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_;
« no previous file with comments | « chrome/browser/media/webrtc_rtp_dump_handler_unittest.cc ('k') | chrome/browser/media/webrtc_rtp_dump_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698