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

Unified Diff: jingle/glue/utils.h

Issue 1833523002: Migrate content/*/p2p/* code to net::IPAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: jingle/glue/utils.h
diff --git a/jingle/glue/utils.h b/jingle/glue/utils.h
index 99c0ac0d40610fb8e3d50ecc47e53af1ede930b0..0ebb36b3db9cb031f829b9ca5f2b717221755cfe 100644
--- a/jingle/glue/utils.h
+++ b/jingle/glue/utils.h
@@ -7,10 +7,10 @@
#include <string>
-#include "net/base/ip_address_number.h"
#include "third_party/webrtc/base/ipaddress.h"
namespace net {
+class IPAddress;
class IPEndPoint;
} // namespace net
@@ -32,8 +32,7 @@ bool IPEndPointToSocketAddress(const net::IPEndPoint& ip_endpoint,
bool SocketAddressToIPEndPoint(const rtc::SocketAddress& address,
net::IPEndPoint* ip_endpoint);
-rtc::IPAddress IPAddressNumberToIPAddress(
- const net::IPAddressNumber& ip_address_number);
+rtc::IPAddress NetIPAddressToIPAddress(const net::IPAddress& ip_address);
Sergey Ulanov 2016/03/24 20:45:45 Call it NetIPAddressToRtcIPAddress() to make it le
martijnc 2016/03/25 16:01:04 Done.
// Helper functions to serialize and deserialize P2P candidates.
std::string SerializeP2PCandidate(const cricket::Candidate& candidate);

Powered by Google App Engine
This is Rietveld 408576698