Chromium Code Reviews| Index: content/browser/frame_host/navigator_delegate.h |
| diff --git a/content/browser/frame_host/navigator_delegate.h b/content/browser/frame_host/navigator_delegate.h |
| index 1494cc339f2ed24e5dcbc75f86475349a36489c1..070e8c76fe7b57e813f84ce286855939f1ffa249 100644 |
| --- a/content/browser/frame_host/navigator_delegate.h |
| +++ b/content/browser/frame_host/navigator_delegate.h |
| @@ -17,6 +17,7 @@ struct FrameHostMsg_DidFailProvisionalLoadWithError_Params; |
| namespace content { |
| +class BrowserContext; |
| class FrameTreeNode; |
| class NavigationHandle; |
| class RenderFrameHostImpl; |
| @@ -130,6 +131,9 @@ class CONTENT_EXPORT NavigatorDelegate { |
| // The load progress was changed. |
| virtual void DidChangeLoadProgress() {} |
| + |
| + // Helper method to access the BrowserContext. |
| + virtual BrowserContext* GetBrowserContext() const; |
|
michaeln
2015/10/01 01:42:15
This method seems out of place on this interface.
clamy
2015/10/01 12:41:27
Agreed. At the end of the day, NavigatorDelegate i
Fabrice (no longer in Chrome)
2015/10/01 18:29:55
This was the only way I found to access the Browse
clamy
2015/10/02 10:34:44
It'd be reasonable to add a pointer to the FTN in
Fabrice (no longer in Chrome)
2015/10/02 16:37:34
Done.
|
| }; |
| } // namspace content |