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

Side by Side Diff: media/cast/net/udp_transport.h

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month 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
« no previous file with comments | « extensions/browser/api/socket/udp_socket.cc ('k') | media/cast/test/utility/net_utility.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef MEDIA_CAST_NET_UDP_TRANSPORT_H_ 5 #ifndef MEDIA_CAST_NET_UDP_TRANSPORT_H_
6 #define MEDIA_CAST_NET_UDP_TRANSPORT_H_ 6 #define MEDIA_CAST_NET_UDP_TRANSPORT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "media/cast/cast_environment.h" 17 #include "media/cast/cast_environment.h"
18 #include "media/cast/net/cast_transport.h" 18 #include "media/cast/net/cast_transport.h"
19 #include "media/cast/net/cast_transport_config.h" 19 #include "media/cast/net/cast_transport_config.h"
20 #include "media/cast/net/pacing/paced_sender.h" 20 #include "media/cast/net/pacing/paced_sender.h"
21 #include "net/base/io_buffer.h" 21 #include "net/base/io_buffer.h"
22 #include "net/base/ip_endpoint.h" 22 #include "net/base/ip_endpoint.h"
23 #include "net/udp/diff_serv_code_point.h" 23 #include "net/socket/diff_serv_code_point.h"
24 #include "net/udp/udp_socket.h" 24 #include "net/socket/udp_socket.h"
25 25
26 namespace net { 26 namespace net {
27 class NetLog; 27 class NetLog;
28 } // namespace net 28 } // namespace net
29 29
30 namespace media { 30 namespace media {
31 namespace cast { 31 namespace cast {
32 32
33 // This class implements UDP transport mechanism for Cast. 33 // This class implements UDP transport mechanism for Cast.
34 class UdpTransport : public PacketTransport { 34 class UdpTransport : public PacketTransport {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // NOTE: Weak pointers must be invalidated before all other member variables. 119 // NOTE: Weak pointers must be invalidated before all other member variables.
120 base::WeakPtrFactory<UdpTransport> weak_factory_; 120 base::WeakPtrFactory<UdpTransport> weak_factory_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(UdpTransport); 122 DISALLOW_COPY_AND_ASSIGN(UdpTransport);
123 }; 123 };
124 124
125 } // namespace cast 125 } // namespace cast
126 } // namespace media 126 } // namespace media
127 127
128 #endif // MEDIA_CAST_NET_UDP_TRANSPORT_H_ 128 #endif // MEDIA_CAST_NET_UDP_TRANSPORT_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/socket/udp_socket.cc ('k') | media/cast/test/utility/net_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698