Chromium Code Reviews| Index: chrome/renderer/media/cast_udp_transport.h |
| diff --git a/chrome/renderer/media/cast_udp_transport.h b/chrome/renderer/media/cast_udp_transport.h |
| index 1673f974993fdb6c1f1ca860c087a54164409114..1282a55656a272ec5c31dff9096a463c6423e933 100644 |
| --- a/chrome/renderer/media/cast_udp_transport.h |
| +++ b/chrome/renderer/media/cast_udp_transport.h |
| @@ -11,26 +11,17 @@ |
| class CastSession; |
| -// This class represents an end point to which communication is done by |
| -// UDP. The interface does not allow direct access to a UDP socket but |
| -// represents a transport mechanism. |
| -// |
| -// CastUdpTransport creates a CastSession and then shares it with |
| -// multiple CastSendTransports. This is because CastSession corresponds |
| -// to only one remote peer. |
| +// This class represents the transport mechanism used by Cast RTP streams |
| +// to connect to a remote client. It specifies the destination address |
| +// and network protocol used to send Cast RTP streams. |
| class CastUdpTransport { |
| public: |
| - CastUdpTransport(); |
| + CastUdpTransport(const scoped_refptr<CastSession>& session); |
|
not at google - send to devlin
2013/11/25 19:41:11
explicit
but oops I didn't mean to go into media/
Alpha Left Google
2013/11/26 04:22:45
Done.
|
| ~CastUdpTransport(); |
| - // Begin the transport by specifying the remote IP address. |
| - // The transport will use UDP. |
| + // Specify the remote IP address. |
| void Start(const net::HostPortPair& remote_address); |
| - scoped_refptr<CastSession> cast_session() const { |
| - return cast_session_; |
| - } |
| - |
| private: |
| const scoped_refptr<CastSession> cast_session_; |