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

Unified Diff: content/browser/frame_host/navigation_handle_impl.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
Index: content/browser/frame_host/navigation_handle_impl.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index 48d26f869c3da09761519263b2d12beedfd93cea..b212b3ee7a7a0c3ac01fca8a1175370a26b99844 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -25,7 +25,7 @@ struct FrameHostMsg_DidCommitProvisionalLoad_Params;
namespace content {
class NavigatorDelegate;
-class ResourceRequestBody;
+class ResourceRequestBodyImpl;
class ServiceWorkerContextWrapper;
class ServiceWorkerNavigationHandle;
struct NavigationRequestInfo;
@@ -161,7 +161,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// Returns the POST body associated with this navigation. This will be
// null for GET and/or other non-POST requests (or if a response to a POST
// request was a redirect that changed the method to GET - for example 302).
- const scoped_refptr<ResourceRequestBody>& resource_request_body() const {
+ const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body() const {
return resource_request_body_;
}
@@ -180,7 +180,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// the caller to cancel the navigation or let it proceed.
void WillStartRequest(
const std::string& method,
- scoped_refptr<content::ResourceRequestBody> resource_request_body,
+ scoped_refptr<content::ResourceRequestBodyImpl> resource_request_body,
const Referrer& sanitized_referrer,
bool has_user_gesture,
ui::PageTransition transition,
@@ -291,7 +291,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// The POST body associated with this navigation. This will be null for GET
// and/or other non-POST requests (or if a response to a POST request was a
// redirect that changed the method to GET - for example 302).
- scoped_refptr<ResourceRequestBody> resource_request_body_;
+ scoped_refptr<ResourceRequestBodyImpl> resource_request_body_;
// The state the navigation is in.
State state_;
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.cc ('k') | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698