Chromium Code Reviews| Index: content/public/browser/navigation_entry.h |
| diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h |
| index a68e66151ba604d5b19e64a974a0d1748a674f30..46a729a6871343c80a146093fb22973bb12e9fa5 100644 |
| --- a/content/public/browser/navigation_entry.h |
| +++ b/content/public/browser/navigation_entry.h |
| @@ -21,6 +21,10 @@ |
| class GURL; |
| +namespace url { |
| +class Origin; |
| +} |
| + |
| namespace content { |
| class PageState; |
| @@ -54,6 +58,10 @@ class NavigationEntry { |
| virtual void SetURL(const GURL& url) = 0; |
| virtual const GURL& GetURL() const = 0; |
| + // The effective Origin at the time of commit. |
|
Charlie Reis
2016/04/19 22:32:53
Same about mentioning that it's an empty unique or
|
| + virtual void SetOrigin(const url::Origin& origin) = 0; |
| + virtual const url::Origin& GetOrigin() const = 0; |
| + |
| // Used for specifying a base URL for pages loaded via data URLs. |
| virtual void SetBaseURLForDataURL(const GURL& url) = 0; |
| virtual const GURL& GetBaseURLForDataURL() const = 0; |