Index: net/http/http_util_icu.cc |
diff --git a/net/http/http_util_icu.cc b/net/http/http_util_icu.cc |
index 88ad5906e7b5e1e30771e9507f48c384d7dd67d3..9ee7e98c02ccca01799fd170e8efe7197ac8e235 100644 |
--- a/net/http/http_util_icu.cc |
+++ b/net/http/http_util_icu.cc |
@@ -13,15 +13,6 @@ |
namespace net { |
// static |
-std::string HttpUtil::PathForRequest(const GURL& url) { |
- DCHECK(url.is_valid() && (url.SchemeIsHTTPOrHTTPS() || |
- url.SchemeIsWSOrWSS())); |
- if (url.has_query()) |
- return url.path() + "?" + url.query(); |
- return url.path(); |
-} |
- |
-// static |
std::string HttpUtil::SpecForRequest(const GURL& url) { |
// We may get ftp scheme when fetching ftp resources through proxy. |
DCHECK(url.is_valid() && (url.SchemeIsHTTPOrHTTPS() || url.SchemeIs("ftp") || |