// |dscp|.
virtual void SendWithDscp(const net::IPEndPoint& address,
const std::vector<char>& data,
- const talk_base::PacketOptions& options) OVERRIDE;
+ const rtc::PacketOptions& options) OVERRIDE;
// Setting socket options.
virtual void SetOption(P2PSocketOption option, int value) OVERRIDE;
virtual ~P2PSocketClientImpl();
// Message handlers that run on IPC thread.
- void OnSocketCreated(const net::IPEndPoint& address);
+ void OnSocketCreated(const net::IPEndPoint& local_address,
+ const net::IPEndPoint& remote_address);
void OnIncomingTcpConnection(const net::IPEndPoint& address);
void OnSendComplete(int packet_id);
void OnSendComplete();
const base::TimeTicks& timestamp);
// Proxy methods that deliver messages to the delegate thread.
- void DeliverOnSocketCreated(const net::IPEndPoint& address);
+ void DeliverOnSocketCreated(const net::IPEndPoint& local_address,
+ const net::IPEndPoint& remote_address);
void DeliverOnIncomingTcpConnection(
const net::IPEndPoint& address,
scoped_refptr<P2PSocketClient> new_client);