| Index: url/origin.h
|
| diff --git a/url/origin.h b/url/origin.h
|
| index 9e6b492abef50e9b30e6484e766aea2dc76b2bff..8a5ab3df7dd3f7a290ac99bb290c9d7a00f39cea 100644
|
| --- a/url/origin.h
|
| +++ b/url/origin.h
|
| @@ -156,6 +156,12 @@ class URL_EXPORT Origin {
|
| // valid SchemeHostPorts and file Origins.
|
| GURL GetURL() const;
|
|
|
| + // Similar to GetURL() but does NOT modify the URL when a suborigin is used.
|
| + // Note: The returned URL will not be serialized to the same value
|
| + // as the Origin would. The GURL will have an added "/" path for Origins with
|
| + // valid SchemeHostPorts and file Origins.
|
| + GURL GetURLWithoutSuborigin() const;
|
| +
|
| // Same as GURL::DomainIs. If |this| origin is unique, then returns false.
|
| bool DomainIs(base::StringPiece lower_ascii_domain) const;
|
|
|
|
|