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

Unified Diff: jingle/glue/utils.cc

Issue 11528012: [net] Make IPEndPoint::GetFamily() return AddressFamily and add GetSockAddrFamily() to be used when… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update uses of GetFamily in net/dns/ Created 8 years 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 | « no previous file | net/base/address_list_unittest.cc » ('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 26dda92391916f5ea017cde2ffd9f0625a33508f..5e8d44b23550950e4e4f75afdc85fd795e9c6a07 100644
--- a/jingle/glue/utils.cc
+++ b/jingle/glue/utils.cc
@@ -19,7 +19,7 @@ namespace jingle_glue {
bool IPEndPointToSocketAddress(const net::IPEndPoint& address_chrome,
talk_base::SocketAddress* address_lj) {
- if (address_chrome.GetFamily() != AF_INET) {
+ if (address_chrome.GetFamily() != net::ADDRESS_FAMILY_IPV4) {
LOG(ERROR) << "Only IPv4 addresses are supported.";
return false;
}
« no previous file with comments | « no previous file | net/base/address_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698