#ifndef COMPONENTS_WEBRTC_NET_ADDRESS_UTILS_H_
#define COMPONENTS_WEBRTC_NET_ADDRESS_UTILS_H_
#include "third_party/webrtc/rtc_base/ip_address.h"
namespace net {
class IPAddress;
class IPEndPoint;
}
namespace rtc {
class SocketAddress;
}
namespace webrtc {
bool IPEndPointToSocketAddress(const net::IPEndPoint& ip_endpoint,
rtc::SocketAddress* address);
bool SocketAddressToIPEndPoint(const rtc::SocketAddress& address,
net::IPEndPoint* ip_endpoint);
rtc::IPAddress NetIPAddressToRtcIPAddress(const net::IPAddress& ip_address);
net::IPAddress RtcIPAddressToNetIPAddress(const rtc::IPAddress& ip_address);
}
#endif