Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1774)

Unified Diff: jingle/glue/utils.cc

Issue 450463002: Update webrtc&libjingle 6774:6825. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « jingle/glue/utils.h ('k') | jingle/notifier/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/utils.cc
===================================================================
--- jingle/glue/utils.cc (revision 287594)
+++ jingle/glue/utils.cc (working copy)
@@ -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,
- talk_base::SocketAddress* address) {
+ rtc::SocketAddress* address) {
sockaddr_storage addr;
socklen_t len = sizeof(addr);
return ip_endpoint.ToSockAddr(reinterpret_cast<sockaddr*>(&addr), &len) &&
- talk_base::SocketAddressFromSockAddrStorage(addr, address);
+ rtc::SocketAddressFromSockAddrStorage(addr, address);
}
-bool SocketAddressToIPEndPoint(const talk_base::SocketAddress& address,
+bool SocketAddressToIPEndPoint(const rtc::SocketAddress& address,
net::IPEndPoint* ip_endpoint) {
sockaddr_storage addr;
int size = address.ToSockAddrStorage(&addr);
@@ -81,7 +81,7 @@
return false;
}
- candidate->set_address(talk_base::SocketAddress(ip, port));
+ candidate->set_address(rtc::SocketAddress(ip, port));
candidate->set_type(type);
candidate->set_protocol(protocol);
candidate->set_username(username);
« no previous file with comments | « jingle/glue/utils.h ('k') | jingle/notifier/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698