Index: content/browser/frame_host/navigation_handle_impl.cc |
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc |
index c11502b62029ca7c67345c0aff04fa1a6277cc20..2abfc4d85d363e5311ebc5111fb84ca9d0ffaac5 100644 |
--- a/content/browser/frame_host/navigation_handle_impl.cc |
+++ b/content/browser/frame_host/navigation_handle_impl.cc |
@@ -12,7 +12,7 @@ |
#include "content/browser/service_worker/service_worker_context_wrapper.h" |
#include "content/browser/service_worker/service_worker_navigation_handle.h" |
#include "content/common/frame_messages.h" |
-#include "content/common/resource_request_body.h" |
+#include "content/common/resource_request_body_impl.h" |
#include "content/public/browser/content_browser_client.h" |
#include "content/public/common/browser_side_navigation_policy.h" |
#include "content/public/common/content_client.h" |
@@ -252,13 +252,13 @@ NavigationHandleImpl::CallWillStartRequestForTesting( |
bool is_external_protocol) { |
NavigationThrottle::ThrottleCheckResult result = NavigationThrottle::DEFER; |
- scoped_refptr<ResourceRequestBody> resource_request_body; |
+ scoped_refptr<ResourceRequestBodyImpl> resource_request_body; |
std::string method = "GET"; |
if (is_post) { |
method = "POST"; |
std::string body = "test=body"; |
- resource_request_body = new ResourceRequestBody(); |
+ resource_request_body = new ResourceRequestBodyImpl(); |
resource_request_body->AppendBytes(body.data(), body.size()); |
} |
@@ -301,7 +301,8 @@ void NavigationHandleImpl::InitServiceWorkerHandle( |
void NavigationHandleImpl::WillStartRequest( |
const std::string& method, |
- const scoped_refptr<content::ResourceRequestBody>& resource_request_body, |
+ const scoped_refptr<content::ResourceRequestBodyImpl>& |
+ resource_request_body, |
const Referrer& sanitized_referrer, |
bool has_user_gesture, |
ui::PageTransition transition, |