| Index: url/origin.h
|
| diff --git a/url/origin.h b/url/origin.h
|
| index 9ac777949a4c1922b8e91e97cc2b2f898fb31858..c7ec4912acfcffb3550773e77176a1680a8b99bc 100644
|
| --- a/url/origin.h
|
| +++ b/url/origin.h
|
| @@ -122,6 +122,11 @@ class URL_EXPORT Origin {
|
| return IsSameOriginWith(other);
|
| }
|
|
|
| + // Efficiently returns what GURL(Serialize()) would without re-parsing the
|
| + // URL. This can be used for the (rare) times a GURL representation is needed
|
| + // for an Origin.
|
| + GURL GetURL() const;
|
| +
|
| // Same as GURL::DomainIs. If |this| origin is unique, then returns false.
|
| bool DomainIs(base::StringPiece lower_ascii_domain) const;
|
|
|
|
|