Index: content/browser/frame_host/frame_navigation_entry.h |
diff --git a/content/browser/frame_host/frame_navigation_entry.h b/content/browser/frame_host/frame_navigation_entry.h |
index 5470c484fbb086c9a7608d98bff4bc06c741d35c..212aad45092b44a4366d62e5a6d0aee71d18b1b8 100644 |
--- a/content/browser/frame_host/frame_navigation_entry.h |
+++ b/content/browser/frame_host/frame_navigation_entry.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "content/browser/site_instance_impl.h" |
+#include "content/common/resource_request_body.h" |
#include "content/public/common/page_state.h" |
#include "content/public/common/referrer.h" |
@@ -121,6 +122,10 @@ class CONTENT_EXPORT FrameNavigationEntry |
int64_t post_id() const { return post_id_; } |
void set_post_id(int64_t post_id) { post_id_ = post_id; } |
+ // The data sent during a POST navigation. Returns nullptr if the navigation |
+ // is not a POST. |
+ scoped_refptr<ResourceRequestBody> GetPostData() const; |
+ |
private: |
friend class base::RefCounted<FrameNavigationEntry>; |
virtual ~FrameNavigationEntry(); |