| Index: net/base/net_util.cc
|
| diff --git a/net/base/net_util.cc b/net/base/net_util.cc
|
| index f8615cc915bbe36e354e7d7a1dbbd4dc9730a3a1..d80155795e644687025ebcf34235d0c593e2527d 100644
|
| --- a/net/base/net_util.cc
|
| +++ b/net/base/net_util.cc
|
| @@ -568,14 +568,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;
|
|
|