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

Side by Side Diff: chrome/renderer/media/cast_transport_sender_ipc.cc

Issue 1515433002: Replace uses of raw uint32's with a type-checked RtpTimeTicks data type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Speculative workaround fix for win8_chromium_ng compile error. Created 4 years, 11 months 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 unified diff | Download patch
« no previous file with comments | « chrome/renderer/media/cast_transport_sender_ipc.h ('k') | media/cast/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/renderer/media/cast_transport_sender_ipc.h" 5 #include "chrome/renderer/media/cast_transport_sender_ipc.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 void CastTransportSenderIPC::InsertFrame( 63 void CastTransportSenderIPC::InsertFrame(
64 uint32_t ssrc, 64 uint32_t ssrc,
65 const media::cast::EncodedFrame& frame) { 65 const media::cast::EncodedFrame& frame) {
66 Send(new CastHostMsg_InsertFrame(channel_id_, ssrc, frame)); 66 Send(new CastHostMsg_InsertFrame(channel_id_, ssrc, frame));
67 } 67 }
68 68
69 void CastTransportSenderIPC::SendSenderReport( 69 void CastTransportSenderIPC::SendSenderReport(
70 uint32_t ssrc, 70 uint32_t ssrc,
71 base::TimeTicks current_time, 71 base::TimeTicks current_time,
72 uint32_t current_time_as_rtp_timestamp) { 72 media::cast::RtpTimeTicks current_time_as_rtp_timestamp) {
73 Send(new CastHostMsg_SendSenderReport(channel_id_, 73 Send(new CastHostMsg_SendSenderReport(channel_id_,
74 ssrc, 74 ssrc,
75 current_time, 75 current_time,
76 current_time_as_rtp_timestamp)); 76 current_time_as_rtp_timestamp));
77 } 77 }
78 78
79 void CastTransportSenderIPC::CancelSendingFrames( 79 void CastTransportSenderIPC::CancelSendingFrames(
80 uint32_t ssrc, 80 uint32_t ssrc,
81 const std::vector<uint32_t>& frame_ids) { 81 const std::vector<uint32_t>& frame_ids) {
82 Send(new CastHostMsg_CancelSendingFrames(channel_id_, 82 Send(new CastHostMsg_CancelSendingFrames(channel_id_,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 } 194 }
195 } 195 }
196 196
197 void CastTransportSenderIPC::Send(IPC::Message* message) { 197 void CastTransportSenderIPC::Send(IPC::Message* message) {
198 if (CastIPCDispatcher::Get()) { 198 if (CastIPCDispatcher::Get()) {
199 CastIPCDispatcher::Get()->Send(message); 199 CastIPCDispatcher::Get()->Send(message);
200 } else { 200 } else {
201 delete message; 201 delete message;
202 } 202 }
203 } 203 }
OLDNEW
« no previous file with comments | « chrome/renderer/media/cast_transport_sender_ipc.h ('k') | media/cast/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698