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

Side by Side Diff: webrtc/pc/ortcfactory.cc

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « webrtc/pc/ortcfactory.h ('k') | webrtc/pc/ortcfactory_unittest.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 /* 1 /*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/api/ortcfactory.h" 11 #include "webrtc/pc/ortcfactory.h"
12 12
13 #include <string> 13 #include <string>
14 #include <utility> // For std::move. 14 #include <utility> // For std::move.
15 15
16 #include "webrtc/base/bind.h" 16 #include "webrtc/base/bind.h"
17 #include "webrtc/base/asyncpacketsocket.h" 17 #include "webrtc/base/asyncpacketsocket.h"
18 #include "webrtc/p2p/base/basicpacketsocketfactory.h" 18 #include "webrtc/p2p/base/basicpacketsocketfactory.h"
19 #include "webrtc/p2p/base/udptransport.h" 19 #include "webrtc/p2p/base/udptransport.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 LOG(LS_INFO) << "Created UDP socket with address " 110 LOG(LS_INFO) << "Created UDP socket with address "
111 << socket->GetLocalAddress().ToSensitiveString() << "."; 111 << socket->GetLocalAddress().ToSensitiveString() << ".";
112 // Use proxy so that calls to the returned object are invoked on the network 112 // Use proxy so that calls to the returned object are invoked on the network
113 // thread. 113 // thread.
114 return UdpTransportProxy::Create( 114 return UdpTransportProxy::Create(
115 signaling_thread_, network_thread_, 115 signaling_thread_, network_thread_,
116 new cricket::UdpTransport(std::string(), std::move(socket))); 116 new cricket::UdpTransport(std::string(), std::move(socket)));
117 } 117 }
118 118
119 } // namespace webrtc 119 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/pc/ortcfactory.h ('k') | webrtc/pc/ortcfactory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698