| Index: url/gurl.h
|
| diff --git a/url/gurl.h b/url/gurl.h
|
| index 74efbb5021e67515fa14738bd315a6338d344daf..6f4536d95c81129205c2a5aa4ccd1edb9e094f9c 100644
|
| --- a/url/gurl.h
|
| +++ b/url/gurl.h
|
| @@ -380,6 +380,9 @@ class URL_EXPORT GURL {
|
| // literals. This can be useful for passing to getaddrinfo().
|
| std::string HostNoBrackets() const;
|
|
|
| + // Returns the same characters as HostNoBrackets(), avoiding a copy.
|
| + base::StringPiece HostNoBracketsPiece() const;
|
| +
|
| // Returns true if this URL's host matches or is in the same domain as
|
| // the given input string. For example, if the hostname of the URL is
|
| // "www.google.com", this will return true for "com", "google.com", and
|
|
|