Index: content/browser/web_contents/navigation_entry_impl.h |
diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h |
index c0aae0209fd30ef411edf23cfcee238d1e2e667c..26405a7b6ecd4baab8c01c6e8e6092ca2a5f841c 100644 |
--- a/content/browser/web_contents/navigation_entry_impl.h |
+++ b/content/browser/web_contents/navigation_entry_impl.h |
@@ -57,6 +57,9 @@ class CONTENT_EXPORT NavigationEntryImpl |
virtual bool GetHasPostData() const OVERRIDE; |
virtual void SetPostID(int64 post_id) OVERRIDE; |
virtual int64 GetPostID() const OVERRIDE; |
+ virtual void SetBrowserInitiatedPostData( |
+ const std::vector<char>& data) OVERRIDE; |
+ virtual const std::vector<char>& GetBrowserInitiatedPostData() const OVERRIDE; |
virtual const FaviconStatus& GetFavicon() const OVERRIDE; |
virtual FaviconStatus& GetFavicon() OVERRIDE; |
virtual const SSLStatus& GetSSL() const OVERRIDE; |
@@ -185,7 +188,12 @@ class CONTENT_EXPORT NavigationEntryImpl |
GURL original_request_url_; |
bool is_overriding_user_agent_; |
- // This member is not persisted with sesssion restore. |
+ // This member is not persisted with session restore because it is transient. |
+ // If the post request succeeds, this field is cleared since the same |
+ // information is stored in |content_state_| above. |
+ std::vector<char> browser_initiated_post_data_; |
+ |
+ // This member is not persisted with session restore. |
std::string extra_headers_; |
// Used for specifying base URL for pages loaded via data URLs. Not persisted. |