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

Side by Side Diff: webrtc/p2p/client/fakeportallocator.h

Issue 1303393002: Reland "Remove GICE (gone forever!) and PORTALLOCATOR_ENABLE_SHARED_UFRAG (enabled forever)." becau… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add memcheck suppression Created 5 years, 4 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/p2p/client/connectivitychecker.cc ('k') | webrtc/p2p/client/httpportallocator.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 2010 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2010 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
(...skipping 15 matching lines...) Expand all
26 26
27 class FakePortAllocatorSession : public PortAllocatorSession { 27 class FakePortAllocatorSession : public PortAllocatorSession {
28 public: 28 public:
29 FakePortAllocatorSession(rtc::Thread* worker_thread, 29 FakePortAllocatorSession(rtc::Thread* worker_thread,
30 rtc::PacketSocketFactory* factory, 30 rtc::PacketSocketFactory* factory,
31 const std::string& content_name, 31 const std::string& content_name,
32 int component, 32 int component,
33 const std::string& ice_ufrag, 33 const std::string& ice_ufrag,
34 const std::string& ice_pwd) 34 const std::string& ice_pwd)
35 : PortAllocatorSession(content_name, component, ice_ufrag, ice_pwd, 35 : PortAllocatorSession(content_name, component, ice_ufrag, ice_pwd,
36 cricket::PORTALLOCATOR_ENABLE_SHARED_UFRAG), 36 cricket::kDefaultPortAllocatorFlags),
37 worker_thread_(worker_thread), 37 worker_thread_(worker_thread),
38 factory_(factory), 38 factory_(factory),
39 network_("network", "unittest", 39 network_("network", "unittest",
40 rtc::IPAddress(INADDR_LOOPBACK), 8), 40 rtc::IPAddress(INADDR_LOOPBACK), 8),
41 port_(), running_(false), 41 port_(), running_(false),
42 port_config_count_(0) { 42 port_config_count_(0) {
43 network_.AddIP(rtc::IPAddress(INADDR_LOOPBACK)); 43 network_.AddIP(rtc::IPAddress(INADDR_LOOPBACK));
44 } 44 }
45 45
46 virtual void StartGettingPorts() { 46 virtual void StartGettingPorts() {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 private: 111 private:
112 rtc::Thread* worker_thread_; 112 rtc::Thread* worker_thread_;
113 rtc::PacketSocketFactory* factory_; 113 rtc::PacketSocketFactory* factory_;
114 rtc::scoped_ptr<rtc::BasicPacketSocketFactory> owned_factory_; 114 rtc::scoped_ptr<rtc::BasicPacketSocketFactory> owned_factory_;
115 }; 115 };
116 116
117 } // namespace cricket 117 } // namespace cricket
118 118
119 #endif // WEBRTC_P2P_CLIENT_FAKEPORTALLOCATOR_H_ 119 #endif // WEBRTC_P2P_CLIENT_FAKEPORTALLOCATOR_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/client/connectivitychecker.cc ('k') | webrtc/p2p/client/httpportallocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698