summaryrefslogtreecommitdiff
path: root/chromium/content/public/browser/page_navigator.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/public/browser/page_navigator.h')
-rw-r--r--chromium/content/public/browser/page_navigator.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/content/public/browser/page_navigator.h b/chromium/content/public/browser/page_navigator.h
index 51f02349648..fa7cebd2e6b 100644
--- a/chromium/content/public/browser/page_navigator.h
+++ b/chromium/content/public/browser/page_navigator.h
@@ -12,11 +12,11 @@
#include <string>
#include "base/memory/ref_counted.h"
-#include "base/memory/ref_counted_memory.h"
#include "content/common/content_export.h"
#include "content/public/browser/global_request_id.h"
#include "content/public/browser/site_instance.h"
#include "content/public/common/referrer.h"
+#include "content/public/common/resource_request_body.h"
#include "ui/base/page_transition_types.h"
#include "ui/base/window_open_disposition.h"
#include "url/gurl.h"
@@ -52,13 +52,10 @@ struct CONTENT_EXPORT OpenURLParams {
std::vector<GURL> redirect_chain;
// Indicates whether this navigation will be sent using POST.
- // The POST method is limited support for basic POST data by leveraging
- // NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST.
- // It is not for things like file uploads.
bool uses_post;
// The post data when the navigation uses POST.
- scoped_refptr<base::RefCountedMemory> browser_initiated_post_data;
+ scoped_refptr<ResourceRequestBody> post_data;
// Extra headers to add to the request for this page. Headers are
// represented as "<name>: <value>" and separated by \r\n. The entire string