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

Side by Side Diff: remoting/protocol/chromium_socket_factory.cc

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 | « net/udp/udp_socket_win.cc ('k') | no next file » | 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 #include "remoting/protocol/chromium_socket_factory.h" 5 #include "remoting/protocol/chromium_socket_factory.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <list> 9 #include <list>
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "jingle/glue/utils.h" 17 #include "jingle/glue/utils.h"
18 #include "net/base/io_buffer.h" 18 #include "net/base/io_buffer.h"
19 #include "net/base/ip_endpoint.h" 19 #include "net/base/ip_endpoint.h"
20 #include "net/base/net_errors.h" 20 #include "net/base/net_errors.h"
21 #include "net/log/net_log_source.h" 21 #include "net/log/net_log_source.h"
22 #include "net/udp/udp_server_socket.h" 22 #include "net/socket/udp_server_socket.h"
23 #include "remoting/protocol/socket_util.h" 23 #include "remoting/protocol/socket_util.h"
24 #include "third_party/webrtc/base/asyncpacketsocket.h" 24 #include "third_party/webrtc/base/asyncpacketsocket.h"
25 #include "third_party/webrtc/base/nethelpers.h" 25 #include "third_party/webrtc/base/nethelpers.h"
26 #include "third_party/webrtc/base/socket.h" 26 #include "third_party/webrtc/base/socket.h"
27 #include "third_party/webrtc/media/base/rtputils.h" 27 #include "third_party/webrtc/media/base/rtputils.h"
28 28
29 namespace remoting { 29 namespace remoting {
30 namespace protocol { 30 namespace protocol {
31 31
32 namespace { 32 namespace {
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 return nullptr; 417 return nullptr;
418 } 418 }
419 419
420 rtc::AsyncResolverInterface* 420 rtc::AsyncResolverInterface*
421 ChromiumPacketSocketFactory::CreateAsyncResolver() { 421 ChromiumPacketSocketFactory::CreateAsyncResolver() {
422 return new rtc::AsyncResolver(); 422 return new rtc::AsyncResolver();
423 } 423 }
424 424
425 } // namespace protocol 425 } // namespace protocol
426 } // namespace remoting 426 } // namespace remoting
OLDNEW
« no previous file with comments | « net/udp/udp_socket_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698