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

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

Issue 1669023004: Roll WebRTC 11486:11495, Libjingle 11485:11495 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update includes in content and remoting Created 4 years, 10 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
« no previous file with comments | « remoting/DEPS ('k') | remoting/protocol/webrtc_video_capturer_adapter.h » ('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 #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 "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "jingle/glue/utils.h" 14 #include "jingle/glue/utils.h"
15 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
16 #include "net/base/ip_endpoint.h" 16 #include "net/base/ip_endpoint.h"
17 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
18 #include "net/udp/udp_server_socket.h" 18 #include "net/udp/udp_server_socket.h"
19 #include "remoting/protocol/socket_util.h" 19 #include "remoting/protocol/socket_util.h"
20 #include "third_party/libjingle/source/talk/media/base/rtputils.h"
21 #include "third_party/webrtc/base/asyncpacketsocket.h" 20 #include "third_party/webrtc/base/asyncpacketsocket.h"
22 #include "third_party/webrtc/base/nethelpers.h" 21 #include "third_party/webrtc/base/nethelpers.h"
22 #include "third_party/webrtc/media/base/rtputils.h"
23 23
24 namespace remoting { 24 namespace remoting {
25 namespace protocol { 25 namespace protocol {
26 26
27 namespace { 27 namespace {
28 28
29 // Size of the buffer to allocate for RecvFrom(). 29 // Size of the buffer to allocate for RecvFrom().
30 const int kReceiveBufferSize = 65536; 30 const int kReceiveBufferSize = 65536;
31 31
32 // Maximum amount of data in the send buffers. This is necessary to 32 // Maximum amount of data in the send buffers. This is necessary to
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 return nullptr; 403 return nullptr;
404 } 404 }
405 405
406 rtc::AsyncResolverInterface* 406 rtc::AsyncResolverInterface*
407 ChromiumPacketSocketFactory::CreateAsyncResolver() { 407 ChromiumPacketSocketFactory::CreateAsyncResolver() {
408 return new rtc::AsyncResolver(); 408 return new rtc::AsyncResolver();
409 } 409 }
410 410
411 } // namespace protocol 411 } // namespace protocol
412 } // namespace remoting 412 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/DEPS ('k') | remoting/protocol/webrtc_video_capturer_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698