Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(865)

Unified Diff: content/browser/tab_contents/navigation_controller_impl.cc

Issue 9317009: Store the UploadData identifier in NavigationEntryImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits from self-review Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/tab_contents/navigation_controller_impl.cc
diff --git a/content/browser/tab_contents/navigation_controller_impl.cc b/content/browser/tab_contents/navigation_controller_impl.cc
index 49c40764bc307278ff4d11668ab4762e838205b5..a7baf9f05ddd16540a22ec351b240c0b20fe447c 100644
--- a/content/browser/tab_contents/navigation_controller_impl.cc
+++ b/content/browser/tab_contents/navigation_controller_impl.cc
@@ -853,6 +853,7 @@ void NavigationControllerImpl::RendererDidNavigateToNewPage(
new_entry->set_site_instance(
static_cast<SiteInstanceImpl*>(tab_contents_->GetSiteInstance()));
new_entry->SetHasPostData(params.is_post);
+ new_entry->SetPostID(params.post_id);
InsertOrReplaceEntry(new_entry, *did_replace_entry);
}
@@ -883,6 +884,7 @@ void NavigationControllerImpl::RendererDidNavigateToExistingPage(
static_cast<SiteInstanceImpl*>(tab_contents_->GetSiteInstance()));
entry->SetHasPostData(params.is_post);
+ entry->SetPostID(params.post_id);
// The entry we found in the list might be pending if the user hit
// back/forward/reload. This load should commit it (since it's already in the

Powered by Google App Engine
This is Rietveld 408576698