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 ca08298430c15d7d3d9ea6719fa4d74c14c22935..0f435bf643339603ddd98a914c2c2ef0917bf2cc 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( |
+ NavigationHandle* navigation_handle); |
}; |
} // namspace content |