Chromium Code Reviews| Index: url/origin.h |
| diff --git a/url/origin.h b/url/origin.h |
| index aab1f05a2013cc84cd4aedbb91a9e10b0df88307..90a4a7252ab93f53494a43eea3637e7930fd1589 100644 |
| --- a/url/origin.h |
| +++ b/url/origin.h |
| @@ -115,6 +115,8 @@ class URL_EXPORT Origin { |
| // the addition that all Origins with a 'file' scheme serialize to "file://". |
| std::string Serialize() const; |
| + Origin Clone() const; |
| + |
| // Two Origins are "same-origin" if their schemes, hosts, and ports are exact |
| // matches; and neither is unique. |
| bool IsSameOriginWith(const Origin& other) const; |