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

Unified Diff: jingle/glue/utils.h

Issue 1405963021: Add support for default local address in IpcNetworkManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments. Created 5 years, 1 month 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 cb42b4baa4223425c5ff2b6f63500f15c30e8438..99c0ac0d40610fb8e3d50ecc47e53af1ede930b0 100644
--- a/jingle/glue/utils.h
+++ b/jingle/glue/utils.h
@@ -7,6 +7,9 @@
#include <string>
+#include "net/base/ip_address_number.h"
+#include "third_party/webrtc/base/ipaddress.h"
+
namespace net {
class IPEndPoint;
} // namespace net
@@ -29,6 +32,9 @@ 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);
+
// Helper functions to serialize and deserialize P2P candidates.
std::string SerializeP2PCandidate(const cricket::Candidate& candidate);
bool DeserializeP2PCandidate(const std::string& address,

Powered by Google App Engine
This is Rietveld 408576698