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

Unified Diff: chrome/browser/media/webrtc_logging_handler_host.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
« no previous file with comments | « chrome/browser/media/webrtc_log_util.cc ('k') | chrome/browser/media/webrtc_logging_handler_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_logging_handler_host.h
diff --git a/chrome/browser/media/webrtc_logging_handler_host.h b/chrome/browser/media/webrtc_logging_handler_host.h
index d62d6ccfc539ce2259c7f67b5a21f74674d79c89..446d93c546fffd209f4422829c3fdf345f896c45 100644
--- a/chrome/browser/media/webrtc_logging_handler_host.h
+++ b/chrome/browser/media/webrtc_logging_handler_host.h
@@ -5,8 +5,12 @@
#ifndef CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_
#define CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/shared_memory.h"
+#include "build/build_config.h"
#include "chrome/browser/media/rtp_dump_type.h"
#include "chrome/browser/media/webrtc_rtp_dump_handler.h"
#include "chrome/common/media/webrtc_logging_message_data.h"
@@ -58,7 +62,7 @@ class WebRtcLogBuffer {
private:
base::ThreadChecker thread_checker_;
- uint8 buffer_[kWebRtcLogSize];
+ uint8_t buffer_[kWebRtcLogSize];
PartialCircularBuffer circular_;
bool read_only_;
};
@@ -145,7 +149,7 @@ class WebRtcLoggingHandlerHost : public content::BrowserMessageFilter {
// Called when an RTP packet is sent or received. Must be called on the UI
// thread.
- void OnRtpPacket(scoped_ptr<uint8[]> packet_header,
+ void OnRtpPacket(scoped_ptr<uint8_t[]> packet_header,
size_t header_length,
size_t packet_length,
bool incoming);
@@ -245,7 +249,7 @@ class WebRtcLoggingHandlerHost : public content::BrowserMessageFilter {
void DoStartRtpDump(RtpDumpType type, const GenericDoneCallback& callback);
// Adds the packet to the dump on IO thread.
- void DumpRtpPacketOnIOThread(scoped_ptr<uint8[]> packet_header,
+ void DumpRtpPacketOnIOThread(scoped_ptr<uint8_t[]> packet_header,
size_t header_length,
size_t packet_length,
bool incoming);
« no previous file with comments | « chrome/browser/media/webrtc_log_util.cc ('k') | chrome/browser/media/webrtc_logging_handler_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698