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 71019d1045d8125bc35ecbb8d3d1630523c556c0..fc2ce10a1bb8a597be0f8af64f6fcfcf336b7cf2 100644 |
| --- a/content/browser/frame_host/navigator_delegate.h |
| +++ b/content/browser/frame_host/navigator_delegate.h |
| @@ -10,6 +10,7 @@ |
| #include "content/public/browser/invalidate_type.h" |
| #include "content/public/browser/navigation_controller.h" |
| #include "content/public/browser/navigation_throttle.h" |
| +#include "content/public/browser/navigation_ui_data.h" |
| #include "content/public/browser/reload_type.h" |
| #include "ui/base/page_transition_types.h" |
| #include "ui/base/window_open_disposition.h" |
| @@ -140,6 +141,14 @@ class CONTENT_EXPORT NavigatorDelegate { |
| // where no NavigationThrottles are added to the navigation. |
| virtual ScopedVector<NavigationThrottle> CreateThrottlesForNavigation( |
| NavigationHandle* navigation_handle); |
| + |
| + // PlzNavigate |
| + // Called at the start of the navigation to get opaque data the embedder |
| + // wants to see passed to the corresponding URLRequest on the IO thread. |
| + // In the case of a navigation to an interstitial, no call will be made to the |
| + // embedder and |nullptr| is returned. |
| + virtual std::unique_ptr<NavigationUIData> GetNavigationUIData( |
|
clamy
2016/09/27 14:57:53
@nasko: I have added this to avoid the NavigationH
|
| + NavigationHandle* navigation_handle); |
| }; |
| } // namspace content |