Index: net/base/net_util.cc |
diff --git a/net/base/net_util.cc b/net/base/net_util.cc |
index d4b525b35d45d57b87d1654219c0148b422c7b6b..b27246b4680cd36959d034bbb6a8cc8844737c64 100644 |
--- a/net/base/net_util.cc |
+++ b/net/base/net_util.cc |
@@ -432,14 +432,6 @@ std::string GetHostOrSpecFromURL(const GURL& url) { |
return url.has_host() ? TrimEndingDot(url.host()) : url.spec(); |
} |
-bool CanStripTrailingSlash(const GURL& url) { |
- // Omit the path only for standard, non-file URLs with nothing but "/" after |
- // the hostname. |
- return url.IsStandard() && !url.SchemeIsFile() && |
- !url.SchemeIsFileSystem() && !url.has_query() && !url.has_ref() |
- && url.path() == "/"; |
-} |
- |
GURL SimplifyUrlForRequest(const GURL& url) { |
DCHECK(url.is_valid()); |
GURL::Replacements replacements; |