OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_session_delegate.h" | 5 #include "chrome/renderer/media/cast_session_delegate.h" |
6 | 6 |
7 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
10 #include "chrome/renderer/media/cast_threads.h" | 10 #include "chrome/renderer/media/cast_threads.h" |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 void CastSessionDelegate::LogRawEvents( | 209 void CastSessionDelegate::LogRawEvents( |
210 const std::vector<media::cast::PacketEvent>& packet_events) { | 210 const std::vector<media::cast::PacketEvent>& packet_events) { |
211 DCHECK(io_message_loop_proxy_->BelongsToCurrentThread()); | 211 DCHECK(io_message_loop_proxy_->BelongsToCurrentThread()); |
212 | 212 |
213 for (std::vector<media::cast::PacketEvent>::const_iterator it = | 213 for (std::vector<media::cast::PacketEvent>::const_iterator it = |
214 packet_events.begin(); | 214 packet_events.begin(); |
215 it != packet_events.end(); | 215 it != packet_events.end(); |
216 ++it) { | 216 ++it) { |
217 cast_environment_->Logging()->InsertPacketEvent(it->timestamp, | 217 cast_environment_->Logging()->InsertPacketEvent(it->timestamp, |
218 it->type, | 218 it->type, |
| 219 it->media_type, |
219 it->rtp_timestamp, | 220 it->rtp_timestamp, |
220 it->frame_id, | 221 it->frame_id, |
221 it->packet_id, | 222 it->packet_id, |
222 it->max_packet_id, | 223 it->max_packet_id, |
223 it->size); | 224 it->size); |
224 } | 225 } |
225 } | 226 } |
OLD | NEW |