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 ac8402c9f6e67021004f2b746041e381c6dcac23..094e969b15dffff1a8edd63add90d9fe7168afa1 100644 |
| --- a/content/browser/frame_host/navigator_delegate.h |
| +++ b/content/browser/frame_host/navigator_delegate.h |
| @@ -5,6 +5,8 @@ |
| #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
| +#include <vector> |
| + |
| #include "base/strings/string16.h" |
| #include "content/public/browser/invalidate_type.h" |
| #include "content/public/browser/navigation_controller.h" |
| @@ -19,6 +21,7 @@ namespace content { |
| class FrameTreeNode; |
| class NavigationHandle; |
| +class NavigationThrottle; |
| class RenderFrameHostImpl; |
| struct LoadCommittedDetails; |
| struct OpenURLParams; |
| @@ -41,6 +44,11 @@ class CONTENT_EXPORT NavigatorDelegate { |
| // that |navigation_handle| will be destroyed at the end of this call. |
| virtual void DidFinishNavigation(NavigationHandle* navigation_handle) {} |
| + // Called when the network request is about to start to register the |
| + // NavigationThrottles for the navigation. |
| + virtual std::vector<NavigationThrottle*> AddNavigationThrottles( |
|
nasko
2015/09/04 23:36:49
As I commented elsewhere, GetNavigationThrottles,
clamy
2015/09/08 16:27:18
This method no longer necessary, as the WebContent
|
| + NavigationHandle* navigation_handle); |
| + |
| // TODO(clamy): all methods below that are related to navigation |
| // events should go away in favor of the ones above. |