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

Unified Diff: content/common/navigation_params.h

Issue 2038813003: Making ResourceRequestBody part of //content's public API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 6 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.h
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h
index bebd36dbb27bde648969e5ef717ed24bcf8b42e6..1a09b3332381818ea92a7535aaac82bd37d081eb 100644
--- a/content/common/navigation_params.h
+++ b/content/common/navigation_params.h
@@ -14,7 +14,7 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "content/common/frame_message_enums.h"
-#include "content/common/resource_request_body.h"
+#include "content/common/resource_request_body_impl.h"
#include "content/public/common/page_state.h"
#include "content/public/common/referrer.h"
#include "content/public/common/request_context_type.h"
@@ -50,20 +50,21 @@ bool ShouldMakeNetworkRequestForURL(const GURL& url);
// Used by all navigation IPCs.
struct CONTENT_EXPORT CommonNavigationParams {
CommonNavigationParams();
- CommonNavigationParams(const GURL& url,
- const Referrer& referrer,
- ui::PageTransition transition,
- FrameMsg_Navigate_Type::Value navigation_type,
- bool allow_download,
- bool should_replace_current_entry,
- base::TimeTicks ui_timestamp,
- FrameMsg_UILoadMetricsReportType::Value report_type,
- const GURL& base_url_for_data_url,
- const GURL& history_url_for_data_url,
- LoFiState lofi_state,
- const base::TimeTicks& navigation_start,
- std::string method,
- const scoped_refptr<ResourceRequestBody>& post_data);
+ CommonNavigationParams(
+ const GURL& url,
+ const Referrer& referrer,
+ ui::PageTransition transition,
+ FrameMsg_Navigate_Type::Value navigation_type,
+ bool allow_download,
+ bool should_replace_current_entry,
+ base::TimeTicks ui_timestamp,
+ FrameMsg_UILoadMetricsReportType::Value report_type,
+ const GURL& base_url_for_data_url,
+ const GURL& history_url_for_data_url,
+ LoFiState lofi_state,
+ const base::TimeTicks& navigation_start,
+ std::string method,
+ const scoped_refptr<ResourceRequestBodyImpl>& post_data);
CommonNavigationParams(const CommonNavigationParams& other);
~CommonNavigationParams();
@@ -123,7 +124,7 @@ struct CONTENT_EXPORT CommonNavigationParams {
std::string method;
// Body of HTTP POST request.
- scoped_refptr<ResourceRequestBody> post_data;
+ scoped_refptr<ResourceRequestBodyImpl> post_data;
};
// Provided by the renderer ----------------------------------------------------
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698