Index: webrtc/p2p/base/turnport.h |
diff --git a/webrtc/p2p/base/turnport.h b/webrtc/p2p/base/turnport.h |
index 3bca727346a7e2d776a3e3d30de7609435dabd19..96f0c9ffd64dd432361a21357e258c7ae39229b7 100644 |
--- a/webrtc/p2p/base/turnport.h |
+++ b/webrtc/p2p/base/turnport.h |
@@ -129,7 +129,6 @@ class TurnPort : public Port { |
const rtc::SocketAddress&, |
const rtc::SocketAddress&> SignalResolvedServerAddress; |
- // This signal is only for testing purpose. |
sigslot::signal3<TurnPort*, const rtc::SocketAddress&, int> |
SignalCreatePermissionResult; |
@@ -249,6 +248,21 @@ class TurnPort : public Port { |
friend class TurnChannelBindRequest; |
}; |
+class TurnConnection : public ProxyConnection { |
+ public: |
+ TurnConnection(TurnPort* port, |
+ size_t index, |
+ const Candidate& remote_candidate); |
+ virtual ~TurnConnection(); |
+ |
+ private: |
+ void OnCreatePermissionResult(TurnPort* port, |
+ const rtc::SocketAddress& remote_address, |
+ int code); |
+ |
+ TurnPort* turn_port_; |
+}; |
+ |
} // namespace cricket |
#endif // WEBRTC_P2P_BASE_TURNPORT_H_ |