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

Side by Side Diff: chrome/renderer/media/cast_udp_transport.h

Issue 26931002: Define Cast Content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_
6 #define CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_
7
8 #include "base/basictypes.h"
9 #include "net/base/ip_endpoint.h"
10
11 // This class represents an end point to which communication is done by
12 // UDP. The interface does not allow direct access to a UDP socket but
13 // represents a transport mechanism.
14 class CastUdpTransport {
15 public:
16 CastUdpTransport();
17 ~CastUdpTransport();
18
19 // Begin the transport by specifying the remote IP address.
20 // The transport will use UDP.
21 void Start(net::IPEndPoint remote_address);
22
23 // Terminate the communication with the end point.
24 void Stop();
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(CastUdpTransport);
28 };
29
30 #endif // CHROME_RENDERER_MEDIA_CAST_UDP_TRANSPORT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/media/cast_send_transport.cc ('k') | chrome/renderer/media/cast_udp_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698