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 048554c4e9c7c38fb2f59e88d854b2d762a7937e..1c17171151562176fc71e569b58b9f1d21bcc665 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; |
@@ -232,6 +233,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; |
@@ -323,11 +328,15 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle { |
// This callback will be run when all throttle checks have been performed. |
ThrottleChecksFinishedCallback complete_callback_; |
- // Embedder data tied to this navigation. |
+ // Embedder data from the IO thread tied to this navigation. |
std::unique_ptr<NavigationData> navigation_data_; |
SSLStatus ssl_status_; |
+ // PlzNavigate |
+ // Embedder data from the UI thread tied to this navigation. |
+ std::unique_ptr<NavigationUIData> navigation_ui_data_; |
nasko
2016/09/22 18:32:50
nit: Let's put this closer to the IO thread one, S
clamy
2016/09/26 15:37:51
Done.
|
+ |
DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
}; |