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

Unified Diff: media/cast/net/transport/transport.h

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/net/rtp_sender/rtp_sender.gyp ('k') | media/cast/net/transport/transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/transport/transport.h
diff --git a/media/cast/net/transport/transport.h b/media/cast/net/transport/transport.h
deleted file mode 100644
index f4758c61ee57dbe234408e2d887fde9dd7f80311..0000000000000000000000000000000000000000
--- a/media/cast/net/transport/transport.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_CAST_TEST_TRANSPORT_TRANSPORT_H_
-#define MEDIA_CAST_TEST_TRANSPORT_TRANSPORT_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "media/cast/cast_config.h"
-#include "media/cast/cast_environment.h"
-#include "net/udp/udp_server_socket.h"
-
-
-namespace media {
-namespace cast {
-
-class LocalUdpTransportData;
-class LocalPacketSender;
-
-// Helper class for Cast test applications.
-class Transport {
- public:
- Transport(scoped_refptr<base::TaskRunner> io_thread_proxy);
- ~Transport();
-
- // Specifies the ports and IP address to receive packets on.
- // Will start listening immediately.
- void SetLocalReceiver(PacketReceiver* packet_receiver,
- std::string ip_address,
- std::string local_ip_address,
- int port);
-
- // Specifies the destination port and IP address.
- void SetSendDestination(std::string ip_address, int port);
-
- PacketSender* packet_sender();
-
- void StopReceiving();
-
- private:
- scoped_ptr<net::UDPServerSocket> udp_socket_;
- scoped_refptr<LocalPacketSender> packet_sender_;
- scoped_refptr<LocalUdpTransportData> local_udp_transport_data_;
- scoped_refptr<base::TaskRunner> io_thread_proxy_;
-
- DISALLOW_COPY_AND_ASSIGN(Transport);
-};
-
-} // namespace cast
-} // namespace media
-
-#endif // MEDIA_CAST_TEST_TRANSPORT_TRANSPORT_H_
« no previous file with comments | « media/cast/net/rtp_sender/rtp_sender.gyp ('k') | media/cast/net/transport/transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698