Index: content/browser/frame_host/navigation_request.cc |
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc |
index fb46ae59b3d9c10ad87d021dd60dd5010efb342f..8a10c2c901ea5b60bdebe8e32bc6812f7ea311f9 100644 |
--- a/content/browser/frame_host/navigation_request.cc |
+++ b/content/browser/frame_host/navigation_request.cc |
@@ -24,8 +24,10 @@ void OnBeginNavigation(const NavigationRequestInfo& info, |
} // namespace |
NavigationRequest::NavigationRequest(const NavigationRequestInfo& info, |
+ const NavigationEntryImpl& entry, |
int64 frame_node_id) |
: info_(info), |
+ entry_(entry), |
frame_node_id_(frame_node_id) { |
} |
@@ -43,4 +45,8 @@ void NavigationRequest::BeginNavigation( |
base::Bind(&OnBeginNavigation, info_, request_body, frame_node_id_)); |
} |
+void NavigationRequest::UpdateEntryForCommit(const GURL& final_url) { |
+ entry_.SetURL(final_url); |
+} |
+ |
} // namespace content |