| Index: webrtc/api/udptransportinterface.h
|
| diff --git a/webrtc/api/udptransportinterface.h b/webrtc/api/udptransportinterface.h
|
| index 1a285311a47d2c03152571f82dec3ca897f0f83c..328c72af0d1308a6d5fff487c60d95546e6e7e34 100644
|
| --- a/webrtc/api/udptransportinterface.h
|
| +++ b/webrtc/api/udptransportinterface.h
|
| @@ -11,6 +11,7 @@
|
| #ifndef WEBRTC_API_UDPTRANSPORTINTERFACE_H_
|
| #define WEBRTC_API_UDPTRANSPORTINTERFACE_H_
|
|
|
| +#include "webrtc/api/packettransportinterface.h"
|
| #include "webrtc/api/proxy.h"
|
| #include "webrtc/base/socketaddress.h"
|
|
|
| @@ -26,10 +27,8 @@ namespace webrtc {
|
| //
|
| // Calling SetRemoteAddress sets the destination of outgoing packets; without a
|
| // destination, packets can't be sent, but they can be received.
|
| -class UdpTransportInterface {
|
| +class UdpTransportInterface : virtual public PacketTransportInterface {
|
| public:
|
| - virtual ~UdpTransportInterface() {}
|
| -
|
| // Get the address of the socket allocated for this transport.
|
| virtual rtc::SocketAddress GetLocalAddress() const = 0;
|
|
|
| @@ -45,13 +44,6 @@ class UdpTransportInterface {
|
| virtual rtc::SocketAddress GetRemoteAddress() const = 0;
|
| };
|
|
|
| -BEGIN_OWNED_PROXY_MAP(UdpTransport)
|
| - PROXY_WORKER_THREAD_DESTRUCTOR()
|
| - PROXY_WORKER_CONSTMETHOD0(rtc::SocketAddress, GetLocalAddress)
|
| - PROXY_WORKER_METHOD1(bool, SetRemoteAddress, const rtc::SocketAddress&)
|
| - PROXY_WORKER_CONSTMETHOD0(rtc::SocketAddress, GetRemoteAddress)
|
| -END_PROXY_MAP()
|
| -
|
| } // namespace webrtc
|
|
|
| #endif // WEBRTC_API_UDPTRANSPORTINTERFACE_H_
|
|
|