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

Unified Diff: jingle/glue/utils.cc

Issue 429113002: Webrtc deps roll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use webrtc version 6825 and rebase and switch back to original workspace. 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
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc
index 5350631866c7acf787226c32f36e93b05bbc4457..acf45cb156d120706d9b48c556e22621663b50a8 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,
- 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 @@ bool DeserializeP2PCandidate(const std::string& candidate_str,
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