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

Unified Diff: content/browser/tab_contents/navigation_entry_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_entry_impl.cc
diff --git a/content/browser/tab_contents/navigation_entry_impl.cc b/content/browser/tab_contents/navigation_entry_impl.cc
index a3aa2dfbc0177689c19314893c280ab295a8d229..91385543b5233d5e11288ce56be1f5d9b0a22047 100644
--- a/content/browser/tab_contents/navigation_entry_impl.cc
+++ b/content/browser/tab_contents/navigation_entry_impl.cc
@@ -43,6 +43,7 @@ NavigationEntryImpl::NavigationEntryImpl()
page_id_(-1),
transition_type_(PAGE_TRANSITION_LINK),
has_post_data_(false),
+ post_id_(-1),
restore_type_(RESTORE_NONE),
is_renderer_initiated_(false),
is_cross_site_reload_(false) {
@@ -65,6 +66,7 @@ NavigationEntryImpl::NavigationEntryImpl(SiteInstanceImpl* instance,
page_id_(page_id),
transition_type_(transition_type),
has_post_data_(false),
+ post_id_(-1),
restore_type_(RESTORE_NONE),
is_renderer_initiated_(is_renderer_initiated),
is_cross_site_reload_(false) {
@@ -192,6 +194,14 @@ bool NavigationEntryImpl::GetHasPostData() const {
return has_post_data_;
}
+void NavigationEntryImpl::SetPostID(int64 post_id) {
+ post_id_ = post_id;
+}
+
+int64 NavigationEntryImpl::GetPostID() const {
+ return post_id_;
+}
+
const FaviconStatus& NavigationEntryImpl::GetFavicon() const {
return favicon_;
}

Powered by Google App Engine
This is Rietveld 408576698