Index: content/browser/frame_host/navigation_handle_impl.h |
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h |
index 18d12057910e42cb264d6d58d7e967fbfa0d6d29..e3f7991312601cbbc3198b435651edbf7935fea7 100644 |
--- a/content/browser/frame_host/navigation_handle_impl.h |
+++ b/content/browser/frame_host/navigation_handle_impl.h |
@@ -27,6 +27,7 @@ struct FrameHostMsg_DidCommitProvisionalLoad_Params; |
namespace content { |
+class NavigationUIData; |
class NavigatorDelegate; |
class ResourceRequestBodyImpl; |
class ServiceWorkerContextWrapper; |
@@ -251,6 +252,10 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
SSLStatus ssl_status() { return ssl_status_; } |
+ NavigationUIData* navigation_ui_data() const { |
+ return navigation_ui_data_.get(); |
+ } |
+ |
private: |
friend class NavigationHandleImplTest; |
@@ -347,9 +352,13 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
// corresponding ServiceWorkerNetworkProvider is created in the renderer. |
std::unique_ptr<ServiceWorkerNavigationHandle> service_worker_handle_; |
- // Embedder data tied to this navigation. |
+ // Embedder data from the IO thread tied to this navigation. |
std::unique_ptr<NavigationData> navigation_data_; |
+ // PlzNavigate |
+ // Embedder data from the UI thread tied to this navigation. |
+ std::unique_ptr<NavigationUIData> navigation_ui_data_; |
+ |
SSLStatus ssl_status_; |
DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |