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

Unified Diff: chrome/renderer/media/cast_ipc_dispatcher.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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/renderer/media/cast_ipc_dispatcher.h ('k') | chrome/renderer/media/cast_receiver_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_ipc_dispatcher.cc
diff --git a/chrome/renderer/media/cast_ipc_dispatcher.cc b/chrome/renderer/media/cast_ipc_dispatcher.cc
index 921a27d4409ca511b149d4759090fb59af1e8927..7cb4730774a8103a20623b5d83206c29088f29e7 100644
--- a/chrome/renderer/media/cast_ipc_dispatcher.cc
+++ b/chrome/renderer/media/cast_ipc_dispatcher.cc
@@ -37,11 +37,11 @@ void CastIPCDispatcher::Send(IPC::Message* message) {
}
}
-int32 CastIPCDispatcher::AddSender(CastTransportSenderIPC* sender) {
+int32_t CastIPCDispatcher::AddSender(CastTransportSenderIPC* sender) {
return id_map_.Add(sender);
}
-void CastIPCDispatcher::RemoveSender(int32 channel_id) {
+void CastIPCDispatcher::RemoveSender(int32_t channel_id) {
return id_map_.Remove(channel_id);
}
@@ -79,7 +79,7 @@ void CastIPCDispatcher::OnChannelClosing() {
}
void CastIPCDispatcher::OnNotifyStatusChange(
- int32 channel_id,
+ int32_t channel_id,
media::cast::CastTransportStatus status) {
CastTransportSenderIPC* sender = id_map_.Lookup(channel_id);
if (sender) {
@@ -91,7 +91,7 @@ void CastIPCDispatcher::OnNotifyStatusChange(
}
void CastIPCDispatcher::OnRawEvents(
- int32 channel_id,
+ int32_t channel_id,
const std::vector<media::cast::PacketEvent>& packet_events,
const std::vector<media::cast::FrameEvent>& frame_events) {
CastTransportSenderIPC* sender = id_map_.Lookup(channel_id);
@@ -102,8 +102,8 @@ void CastIPCDispatcher::OnRawEvents(
}
}
-void CastIPCDispatcher::OnRtt(int32 channel_id,
- uint32 ssrc,
+void CastIPCDispatcher::OnRtt(int32_t channel_id,
+ uint32_t ssrc,
base::TimeDelta rtt) {
CastTransportSenderIPC* sender = id_map_.Lookup(channel_id);
if (sender) {
@@ -114,8 +114,8 @@ void CastIPCDispatcher::OnRtt(int32 channel_id,
}
void CastIPCDispatcher::OnRtcpCastMessage(
- int32 channel_id,
- uint32 ssrc,
+ int32_t channel_id,
+ uint32_t ssrc,
const media::cast::RtcpCastMessage& cast_message) {
CastTransportSenderIPC* sender = id_map_.Lookup(channel_id);
if (sender) {
@@ -125,9 +125,8 @@ void CastIPCDispatcher::OnRtcpCastMessage(
}
}
-void CastIPCDispatcher::OnReceivedPacket(
- int32 channel_id,
- const media::cast::Packet& packet) {
+void CastIPCDispatcher::OnReceivedPacket(int32_t channel_id,
+ const media::cast::Packet& packet) {
CastTransportSenderIPC* sender = id_map_.Lookup(channel_id);
if (sender) {
sender->OnReceivedPacket(packet);
« no previous file with comments | « chrome/renderer/media/cast_ipc_dispatcher.h ('k') | chrome/renderer/media/cast_receiver_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698