Index: url/gurl.h |
diff --git a/url/gurl.h b/url/gurl.h |
index 175cb60def48517a0301c39d0d6d1f5dcf8e2c69..d7d575b1e1633d3ddf95006043042dd7da37befc 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). |
+ bool EqualsIgnoringRef(const GURL& other) const; |
+ |
// Swaps the contents of this GURL object with |other|, without doing |
// any memory allocations. |
void Swap(GURL* other); |