Index: jingle/glue/utils.cc |
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc |
index acf45cb156d120706d9b48c556e22621663b50a8..5350631866c7acf787226c32f36e93b05bbc4457 100644 |
--- a/jingle/glue/utils.cc |
+++ b/jingle/glue/utils.cc |
@@ -11,21 +11,21 @@ |
#include "base/values.h" |
#include "net/base/ip_endpoint.h" |
#include "net/base/net_util.h" |
+#include "third_party/libjingle/source/talk/base/byteorder.h" |
+#include "third_party/libjingle/source/talk/base/socketaddress.h" |
#include "third_party/libjingle/source/talk/p2p/base/candidate.h" |
-#include "third_party/webrtc/base/byteorder.h" |
-#include "third_party/webrtc/base/socketaddress.h" |
namespace jingle_glue { |
bool IPEndPointToSocketAddress(const net::IPEndPoint& ip_endpoint, |
- rtc::SocketAddress* address) { |
+ talk_base::SocketAddress* address) { |
sockaddr_storage addr; |
socklen_t len = sizeof(addr); |
return ip_endpoint.ToSockAddr(reinterpret_cast<sockaddr*>(&addr), &len) && |
- rtc::SocketAddressFromSockAddrStorage(addr, address); |
+ talk_base::SocketAddressFromSockAddrStorage(addr, address); |
} |
-bool SocketAddressToIPEndPoint(const rtc::SocketAddress& address, |
+bool SocketAddressToIPEndPoint(const talk_base::SocketAddress& address, |
net::IPEndPoint* ip_endpoint) { |
sockaddr_storage addr; |
int size = address.ToSockAddrStorage(&addr); |
@@ -81,7 +81,7 @@ bool DeserializeP2PCandidate(const std::string& candidate_str, |
return false; |
} |
- candidate->set_address(rtc::SocketAddress(ip, port)); |
+ candidate->set_address(talk_base::SocketAddress(ip, port)); |
candidate->set_type(type); |
candidate->set_protocol(protocol); |
candidate->set_username(username); |