diff options
author | tfarina <tfarina@chromium.org> | 2016-02-23 15:21:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-23 23:22:38 +0000 |
commit | 7ba5a6213c612d3d12ecc7255bd560536f985039 (patch) | |
tree | 933a0cb5bee7031f97626f84d56a6749bb2079f9 /jingle | |
parent | c6d7f720fbfcbe3751db6e666ca33a03266c7b92 (diff) | |
download | chromium_src-7ba5a6213c612d3d12ecc7255bd560536f985039.zip chromium_src-7ba5a6213c612d3d12ecc7255bd560536f985039.tar.gz chromium_src-7ba5a6213c612d3d12ecc7255bd560536f985039.tar.bz2 |
net: move IsLocalhost() function into url_util.h
This patch moves the last function in net_util.h into url_util.h. We are
moving it there because it also operates on a URL part (host).
BUG=488531
TEST=net_unittests --gtest_filter=UrlUtilTest.IsLocalhost
R=eroman@chromium.org
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/1726693002
Cr-Commit-Position: refs/heads/master@{#377115}
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/glue/chrome_async_socket.cc | 1 | ||||
-rw-r--r-- | jingle/glue/chrome_async_socket_unittest.cc | 1 | ||||
-rw-r--r-- | jingle/glue/utils.cc | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/jingle/glue/chrome_async_socket.cc b/jingle/glue/chrome_async_socket.cc index 52b35b52..38bca58 100644 --- a/jingle/glue/chrome_async_socket.cc +++ b/jingle/glue/chrome_async_socket.cc @@ -18,7 +18,6 @@ #include "net/base/address_list.h" #include "net/base/host_port_pair.h" #include "net/base/io_buffer.h" -#include "net/base/net_util.h" #include "net/socket/client_socket_handle.h" #include "net/socket/ssl_client_socket.h" #include "net/socket/tcp_client_socket.h" diff --git a/jingle/glue/chrome_async_socket_unittest.cc b/jingle/glue/chrome_async_socket_unittest.cc index fd8193d..0a9fd31 100644 --- a/jingle/glue/chrome_async_socket_unittest.cc +++ b/jingle/glue/chrome_async_socket_unittest.cc @@ -17,7 +17,6 @@ #include "jingle/glue/resolving_client_socket_factory.h" #include "net/base/address_list.h" #include "net/base/net_errors.h" -#include "net/base/net_util.h" #include "net/cert/mock_cert_verifier.h" #include "net/http/transport_security_state.h" #include "net/socket/socket_test_util.h" diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc index 618ac5c..d74c6bc 100644 --- a/jingle/glue/utils.cc +++ b/jingle/glue/utils.cc @@ -12,7 +12,6 @@ #include "base/memory/scoped_ptr.h" #include "base/values.h" #include "net/base/ip_endpoint.h" -#include "net/base/net_util.h" #include "third_party/webrtc/base/byteorder.h" #include "third_party/webrtc/base/socketaddress.h" #include "third_party/webrtc/p2p/base/candidate.h" |