| Index: net/base/url_util.h
|
| diff --git a/net/base/url_util.h b/net/base/url_util.h
|
| index 75f7b620be0686210434d30c4452d76efb40997f..8a83686c67236c2c8b6e78569febdfc43dfd964c 100644
|
| --- a/net/base/url_util.h
|
| +++ b/net/base/url_util.h
|
| @@ -150,6 +150,11 @@ NET_EXPORT bool IsHostnameNonUnique(const std::string& hostname);
|
| // machine.
|
| NET_EXPORT bool IsLocalhost(base::StringPiece host);
|
|
|
| +// Checks whether or not two URLs are differing only in the fragment (the part
|
| +// after the # character). Returns false when the new URL has no fragment.
|
| +NET_EXPORT bool IsFragmentAddedOrUpdated(const GURL& old_url,
|
| + const GURL& new_url);
|
| +
|
| // Strip the portions of |url| that aren't core to the network request.
|
| // - user name / password
|
| // - reference section
|
|
|