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

Side by Side Diff: webrtc/p2p/base/port.h

Issue 2099023002: Fix the turn and udp port type. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge with head Created 4 years, 5 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 | « no previous file | webrtc/p2p/base/port.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 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 typedef std::set<rtc::SocketAddress> ServerAddresses; 117 typedef std::set<rtc::SocketAddress> ServerAddresses;
118 118
119 // Represents a local communication mechanism that can be used to create 119 // Represents a local communication mechanism that can be used to create
120 // connections to similar mechanisms of the other client. Subclasses of this 120 // connections to similar mechanisms of the other client. Subclasses of this
121 // one add support for specific mechanisms like local UDP ports. 121 // one add support for specific mechanisms like local UDP ports.
122 class Port : public PortInterface, public rtc::MessageHandler, 122 class Port : public PortInterface, public rtc::MessageHandler,
123 public sigslot::has_slots<> { 123 public sigslot::has_slots<> {
124 public: 124 public:
125 Port(rtc::Thread* thread, 125 Port(rtc::Thread* thread,
126 const std::string& type,
126 rtc::PacketSocketFactory* factory, 127 rtc::PacketSocketFactory* factory,
127 rtc::Network* network, 128 rtc::Network* network,
128 const rtc::IPAddress& ip, 129 const rtc::IPAddress& ip,
129 const std::string& username_fragment, 130 const std::string& username_fragment,
130 const std::string& password); 131 const std::string& password);
131 Port(rtc::Thread* thread, 132 Port(rtc::Thread* thread,
132 const std::string& type, 133 const std::string& type,
133 rtc::PacketSocketFactory* factory, 134 rtc::PacketSocketFactory* factory,
134 rtc::Network* network, 135 rtc::Network* network,
135 const rtc::IPAddress& ip, 136 const rtc::IPAddress& ip,
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 const rtc::PacketOptions& options) override; 686 const rtc::PacketOptions& options) override;
686 int GetError() override { return error_; } 687 int GetError() override { return error_; }
687 688
688 private: 689 private:
689 int error_ = 0; 690 int error_ = 0;
690 }; 691 };
691 692
692 } // namespace cricket 693 } // namespace cricket
693 694
694 #endif // WEBRTC_P2P_BASE_PORT_H_ 695 #endif // WEBRTC_P2P_BASE_PORT_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/p2p/base/port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698