Index: url/gurl.h |
diff --git a/url/gurl.h b/url/gurl.h |
index 5753230db769ad079ac1041a8d5025d441898f58..b67e3f464284780e6e2a8adf0f6b703f038c4fe6 100644 |
--- a/url/gurl.h |
+++ b/url/gurl.h |
@@ -385,6 +385,10 @@ class URL_EXPORT GURL { |
// object constructions are done. |
bool DomainIs(base::StringPiece lower_ascii_domain) const; |
+ // Checks whether or not two URLs are differing only in the ref (the part |
+ // after the # character). |
+ static bool EqualsIgnoringRef(const GURL& x, const GURL& y); |
brettw
2017/02/07 06:37:47
I think I would prefer a non-static function:
bo
arthursonzogni
2017/02/07 12:04:50
Done.
|
+ |
// Swaps the contents of this GURL object with |other|, without doing |
// any memory allocations. |
void Swap(GURL* other); |