| Index: content/browser/frame_host/navigation_entry_impl.h
|
| diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h
|
| index 14d4e7ee52384970dfb2a8a9b4480434497947e0..ebe2e7d4363afada330b5c081b077b1ebe3f2025 100644
|
| --- a/content/browser/frame_host/navigation_entry_impl.h
|
| +++ b/content/browser/frame_host/navigation_entry_impl.h
|
| @@ -16,6 +16,7 @@
|
| #include "content/browser/frame_host/frame_tree_node.h"
|
| #include "content/browser/site_instance_impl.h"
|
| #include "content/common/frame_message_enums.h"
|
| +#include "content/common/resource_request_body_impl.h"
|
| #include "content/public/browser/favicon_status.h"
|
| #include "content/public/browser/global_request_id.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| @@ -118,8 +119,8 @@ class CONTENT_EXPORT NavigationEntryImpl
|
| bool GetHasPostData() const override;
|
| void SetPostID(int64_t post_id) override;
|
| int64_t GetPostID() const override;
|
| - void SetBrowserInitiatedPostData(const base::RefCountedMemory* data) override;
|
| - const base::RefCountedMemory* GetBrowserInitiatedPostData() const override;
|
| + void SetPostData(const scoped_refptr<ResourceRequestBody>& data) override;
|
| + scoped_refptr<ResourceRequestBody> GetPostData() const override;
|
| const FaviconStatus& GetFavicon() const override;
|
| FaviconStatus& GetFavicon() override;
|
| const SSLStatus& GetSSL() const override;
|
| @@ -161,7 +162,7 @@ class CONTENT_EXPORT NavigationEntryImpl
|
| // Helper functions to construct NavigationParameters for a navigation to this
|
| // NavigationEntry.
|
| scoped_refptr<ResourceRequestBodyImpl>
|
| - ConstructBodyFromBrowserInitiatedPostData() const;
|
| + ConstructBodyFromPostData() const;
|
| CommonNavigationParams ConstructCommonNavigationParams(
|
| const FrameNavigationEntry& frame_entry,
|
| const scoped_refptr<ResourceRequestBodyImpl>& post_body,
|
| @@ -415,7 +416,7 @@ class CONTENT_EXPORT NavigationEntryImpl
|
| // information is stored in |content_state_| above. It is also only shallow
|
| // copied with compiler provided copy constructor.
|
| // Cleared in |ResetForCommit|.
|
| - scoped_refptr<const base::RefCountedMemory> browser_initiated_post_data_;
|
| + scoped_refptr<ResourceRequestBodyImpl> post_data_;
|
|
|
| // This is also a transient member (i.e. is not persisted with session
|
| // restore). The screenshot of a page is taken when navigating away from the
|
|
|