Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index b9feffa5f534137f7fdfe8fc2146ede67f572ad8..9e68ed7eaf3e1bb019fbf7e17be7f28667d935df 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -847,6 +847,9 @@ class CONTENT_EXPORT RenderFrameImpl |
void LoadDataURL(const CommonNavigationParams& params, |
blink::WebFrame* frame); |
+ // Sends the current frame's navigation state to the browser. |
+ void SendUpdateState(); |
+ |
// Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for |
// the failed request |request|. |
void SendFailedProvisionalLoad(const blink::WebURLRequest& request, |
@@ -938,6 +941,10 @@ class CONTENT_EXPORT RenderFrameImpl |
// didCreateDataSource(). |
scoped_ptr<NavigationParams> pending_navigation_params_; |
+ // Stores the current history item for this frame, so that updates to it can |
+ // be reported to the browser process via SendUpdateState. |
+ blink::WebHistoryItem current_history_item_; |
+ |
#if defined(ENABLE_PLUGINS) |
// Current text input composition text. Empty if no composition is in |
// progress. |