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

Side by Side Diff: media/cast/transport/cast_transport_sender_impl.cc

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DEPS Created 6 years, 5 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 | Annotate | Revision Log
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 "media/cast/transport/cast_transport_sender_impl.h" 5 #include "media/cast/transport/cast_transport_sender_impl.h"
6 6
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "media/cast/transport/cast_transport_config.h" 8 #include "media/cast/transport/cast_transport_config.h"
9 #include "media/cast/transport/cast_transport_defines.h" 9 #include "media/cast/transport/cast_transport_defines.h"
10 #include "media/cast/transport/udp_transport.h"
10 #include "net/base/net_util.h" 11 #include "net/base/net_util.h"
11 12
12 namespace media { 13 namespace media {
13 namespace cast { 14 namespace cast {
14 namespace transport { 15 namespace transport {
15 16
16 scoped_ptr<CastTransportSender> CastTransportSender::Create( 17 scoped_ptr<CastTransportSender> CastTransportSender::Create(
17 net::NetLog* net_log, 18 net::NetLog* net_log,
18 base::TickClock* clock, 19 base::TickClock* clock,
19 const net::IPEndPoint& remote_end_point, 20 const net::IPEndPoint& remote_end_point,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 DCHECK(event_subscriber_.get()); 200 DCHECK(event_subscriber_.get());
200 DCHECK(!raw_events_callback_.is_null()); 201 DCHECK(!raw_events_callback_.is_null());
201 std::vector<PacketEvent> packet_events; 202 std::vector<PacketEvent> packet_events;
202 event_subscriber_->GetPacketEventsAndReset(&packet_events); 203 event_subscriber_->GetPacketEventsAndReset(&packet_events);
203 raw_events_callback_.Run(packet_events); 204 raw_events_callback_.Run(packet_events);
204 } 205 }
205 206
206 } // namespace transport 207 } // namespace transport
207 } // namespace cast 208 } // namespace cast
208 } // namespace media 209 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698