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 23:11:12
The NavigationController interface has a GetBrowse
clamy
2015/10/02 10:34:44
There is one NavigatorImpl per WebContents, and it
Fabrice (no longer in Chrome)
2015/10/02 16:37:34
Changed the argument to use a FrameTreeNode so thi
michaeln
2015/10/07 01:16:44
Thnx for the explanation, the NavigationMetricsDat
|
}; |
} // namspace content |