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

Unified Diff: content/child/web_url_request_util.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/child/web_url_loader_impl_unittest.cc ('k') | content/child/web_url_request_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_request_util.h
diff --git a/content/child/web_url_request_util.h b/content/child/web_url_request_util.h
index 1d2cf76455640a1ae562a021bedf3c03fe7d32fe..8c8e981930933ea5a4dfb78db40f746d805201c0 100644
--- a/content/child/web_url_request_util.h
+++ b/content/child/web_url_request_util.h
@@ -8,7 +8,7 @@
#include <string>
#include "content/common/content_export.h"
-#include "content/common/resource_request_body.h"
+#include "content/common/resource_request_body_impl.h"
#include "content/common/service_worker/service_worker_types.h"
#include "content/public/common/request_context_frame_type.h"
#include "content/public/common/request_context_type.h"
@@ -30,18 +30,18 @@ std::string GetWebURLRequestHeaders(const blink::WebURLRequest& request);
int GetLoadFlagsForWebURLRequest(const blink::WebURLRequest& request);
-// Takes a ResourceRequestBody and converts into WebHTTPBody.
+// Takes a ResourceRequestBodyImpl and converts into WebHTTPBody.
blink::WebHTTPBody GetWebHTTPBodyForRequestBody(
- const scoped_refptr<ResourceRequestBody>& input);
+ const scoped_refptr<ResourceRequestBodyImpl>& input);
-// Takes a WebHTTPBody and converts into a ResourceRequestBody.
-scoped_refptr<ResourceRequestBody> GetRequestBodyForWebHTTPBody(
+// Takes a WebHTTPBody and converts into a ResourceRequestBodyImpl.
+scoped_refptr<ResourceRequestBodyImpl> GetRequestBodyForWebHTTPBody(
const blink::WebHTTPBody& httpBody);
// Takes a WebURLRequest and sets the appropriate information
-// in a ResourceRequestBody structure. Returns an empty scoped_refptr
+// in a ResourceRequestBodyImpl structure. Returns an empty scoped_refptr
// if the request body is not present.
-scoped_refptr<ResourceRequestBody> GetRequestBodyForWebURLRequest(
+scoped_refptr<ResourceRequestBodyImpl> GetRequestBodyForWebURLRequest(
const blink::WebURLRequest& request);
// Helper functions to convert enums from the blink type to the content
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/child/web_url_request_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698