Chromium Code Reviews| Index: content/browser/frame_host/navigation_entry_impl.h |
| diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h |
| index 5907b6c2bd5992a25d6671a20c1c8ad3582da799..e59601f82caafca0aebdf40e35e05e369e867264 100644 |
| --- a/content/browser/frame_host/navigation_entry_impl.h |
| +++ b/content/browser/frame_host/navigation_entry_impl.h |
| @@ -21,6 +21,7 @@ |
| #include "content/public/browser/navigation_entry.h" |
| #include "content/public/common/page_state.h" |
| #include "content/public/common/ssl_status.h" |
| +#include "url/origin.h" |
| namespace content { |
| struct CommonNavigationParams; |
| @@ -83,6 +84,8 @@ class CONTENT_EXPORT NavigationEntryImpl |
| PageType GetPageType() const override; |
| void SetURL(const GURL& url) override; |
| const GURL& GetURL() const override; |
| + void SetOrigin(const url::Origin& origin) override; |
| + const url::Origin& GetOrigin() const override; |
| void SetBaseURLForDataURL(const GURL& url) override; |
| const GURL& GetBaseURLForDataURL() const override; |
| #if defined(OS_ANDROID) |
| @@ -503,6 +506,9 @@ class CONTENT_EXPORT NavigationEntryImpl |
| // time (see TabNavigation for an example of this). |
| std::map<std::string, base::string16> extra_data_; |
| + // The effective Origin at the time of commit. |
| + url::Origin origin_; |
|
Charlie Reis
2016/04/18 19:58:38
Please put this above browser_initiated_post_data_
palmer
2016/04/18 23:37:35
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(NavigationEntryImpl); |
| }; |