summaryrefslogtreecommitdiffstats
path: root/ios/net
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2016-02-23 15:21:44 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-23 23:22:38 +0000
commit7ba5a6213c612d3d12ecc7255bd560536f985039 (patch)
tree933a0cb5bee7031f97626f84d56a6749bb2079f9 /ios/net
parentc6d7f720fbfcbe3751db6e666ca33a03266c7b92 (diff)
downloadchromium_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 'ios/net')
-rw-r--r--ios/net/crn_http_protocol_handler.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/ios/net/crn_http_protocol_handler.mm b/ios/net/crn_http_protocol_handler.mm
index 155829d..477eb13 100644
--- a/ios/net/crn_http_protocol_handler.mm
+++ b/ios/net/crn_http_protocol_handler.mm
@@ -32,7 +32,6 @@
#include "net/base/load_flags.h"
#import "net/base/mac/url_conversions.h"
#include "net/base/net_errors.h"
-#include "net/base/net_util.h"
#include "net/base/upload_bytes_element_reader.h"
#include "net/http/http_request_headers.h"
#include "net/url_request/redirect_info.h"