| Index: net/base/net_util.cc
 | 
| diff --git a/net/base/net_util.cc b/net/base/net_util.cc
 | 
| index b27246b4680cd36959d034bbb6a8cc8844737c64..d4b525b35d45d57b87d1654219c0148b422c7b6b 100644
 | 
| --- a/net/base/net_util.cc
 | 
| +++ b/net/base/net_util.cc
 | 
| @@ -432,6 +432,14 @@
 | 
|    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;
 | 
| 
 |