Chromium Code Reviews| Index: content/public/browser/navigation_handle.h |
| diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h |
| index 8770777171da92bf15cb92d1d4a0117004c22115..52b1d26582fd5c1d795ea6076104d4af8568ee36 100644 |
| --- a/content/public/browser/navigation_handle.h |
| +++ b/content/public/browser/navigation_handle.h |
| @@ -48,6 +48,9 @@ class CONTENT_EXPORT NavigationHandle { |
| // virtual URL is prefixed with "view-source:". |
| virtual const GURL& GetURL() = 0; |
| + // Returns the URL fo the Site Instance. |
| + virtual const GURL& GetSiteURL() = 0; |
|
nasko
2016/10/12 17:00:35
Let's expose the SiteInstance, as we will need it
alexmos
2016/10/12 17:18:16
Could we name this so that it's a bit more clear w
|
| + |
| // Whether the navigation is taking place in the main frame or in a subframe. |
| // This remains constant over the navigation lifetime. |
| virtual bool IsInMainFrame() = 0; |