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

Unified Diff: media/cast/test/sender.cc

Issue 100823015: Cast: move net->transport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating transport callback Created 7 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 | « media/cast/test/receiver.cc ('k') | media/cast/transport/cast_transport.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/sender.cc
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc
index fc241c1e40fffe1db161d6eb7ee9b560d6fb2436..2e2e7b6130daa4aef0dd243286cdf9e1f501dda6 100644
--- a/media/cast/test/sender.cc
+++ b/media/cast/test/sender.cc
@@ -15,10 +15,10 @@
#include "media/cast/cast_environment.h"
#include "media/cast/cast_sender.h"
#include "media/cast/logging/logging_defines.h"
-#include "media/cast/net/transport/transport.h"
#include "media/cast/test/audio_utility.h"
#include "media/cast/test/utility/input_helper.h"
#include "media/cast/test/video_utility.h"
+#include "media/cast/transport/transport/transport.h"
#include "ui/gfx/size.h"
namespace media {
@@ -322,8 +322,9 @@ int main(int argc, char** argv) {
media::cast::VideoSenderConfig video_config =
media::cast::GetVideoSenderConfig();
- scoped_ptr<media::cast::Transport> transport(
- new media::cast::Transport(io_message_loop.message_loop_proxy()));
+ scoped_ptr<media::cast::transport::Transport> transport(
+ new media::cast::transport::Transport(
+ io_message_loop.message_loop_proxy()));
scoped_ptr<media::cast::CastSender> cast_sender(
media::cast::CastSender::CreateCastSender(cast_environment,
audio_config,
@@ -341,7 +342,6 @@ int main(int argc, char** argv) {
transport->SetLocalReceiver(packet_receiver, ip_address, local_ip_address,
receive_port);
transport->SetSendDestination(ip_address, send_to_port);
- // TODO(mikhal): Add option to simulate packet loss.
media::cast::FrameInput* frame_input = cast_sender->frame_input();
scoped_ptr<media::cast::SendProcess> send_process(new
« no previous file with comments | « media/cast/test/receiver.cc ('k') | media/cast/transport/cast_transport.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698