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/browser/frame_host/navigator_impl.cc

Issue 2954343005: Merge ResourceRequestBodyImpl and ResourceRequestBody. (Closed)
Patch Set: Remove comment Created 3 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/browser/frame_host/navigator_impl.h ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index 9f9285ee7d50b67f531f9eddaa83f938361d81ce..e7f78f43ce73ae7067274037286ddb679ece369d 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -307,7 +307,7 @@ bool NavigatorImpl::NavigateToEntry(
bool is_same_document_history_load,
bool is_history_navigation_in_new_child,
bool is_pending_entry,
- const scoped_refptr<ResourceRequestBodyImpl>& post_body) {
+ const scoped_refptr<ResourceRequestBody>& post_body) {
TRACE_EVENT0("browser,navigation", "NavigatorImpl::NavigateToEntry");
GURL dest_url = frame_entry.url();
@@ -719,7 +719,7 @@ void NavigatorImpl::RequestOpenURL(
RenderFrameHostImpl* render_frame_host,
const GURL& url,
bool uses_post,
- const scoped_refptr<ResourceRequestBodyImpl>& body,
+ const scoped_refptr<ResourceRequestBody>& body,
const std::string& extra_headers,
const Referrer& referrer,
WindowOpenDisposition disposition,
@@ -816,7 +816,7 @@ void NavigatorImpl::RequestTransferURL(
const GlobalRequestID& transferred_global_request_id,
bool should_replace_current_entry,
const std::string& method,
- scoped_refptr<ResourceRequestBodyImpl> post_body,
+ scoped_refptr<ResourceRequestBody> post_body,
const std::string& extra_headers) {
// |method != "POST"| should imply absence of |post_body|.
if (method != "POST" && post_body) {
@@ -1138,7 +1138,7 @@ void NavigatorImpl::RequestNavigation(
PreviewsState previews_state,
bool is_same_document_history_load,
bool is_history_navigation_in_new_child,
- const scoped_refptr<ResourceRequestBodyImpl>& post_body,
+ const scoped_refptr<ResourceRequestBody>& post_body,
base::TimeTicks navigation_start) {
CHECK(IsBrowserSideNavigationEnabled());
DCHECK(frame_tree_node);
« no previous file with comments | « content/browser/frame_host/navigator_impl.h ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698