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

Unified Diff: content/browser/loader/resource_request_info_impl.h

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
Index: content/browser/loader/resource_request_info_impl.h
diff --git a/content/browser/loader/resource_request_info_impl.h b/content/browser/loader/resource_request_info_impl.h
index 5aabe8bc298cd0e4645f4146b273c6ae8ce9a54f..d109c0464bce5d4d1540ae96e446c82b9c2f92e5 100644
--- a/content/browser/loader/resource_request_info_impl.h
+++ b/content/browser/loader/resource_request_info_impl.h
@@ -16,12 +16,12 @@
#include "base/supports_user_data.h"
#include "content/browser/blob_storage/chrome_blob_storage_context.h"
#include "content/browser/loader/resource_requester_info.h"
-#include "content/common/resource_request_body_impl.h"
#include "content/common/url_loader.mojom.h"
#include "content/public/browser/navigation_ui_data.h"
#include "content/public/browser/resource_request_info.h"
#include "content/public/common/previews_state.h"
#include "content/public/common/referrer.h"
+#include "content/public/common/resource_request_body.h"
#include "content/public/common/resource_type.h"
#include "net/base/load_states.h"
@@ -73,7 +73,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool report_raw_headers,
bool is_async,
PreviewsState previews_state,
- const scoped_refptr<ResourceRequestBodyImpl> body,
+ const scoped_refptr<ResourceRequestBody> body,
bool initiated_in_secure_context);
~ResourceRequestInfoImpl() override;
@@ -182,7 +182,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
do_not_prompt_for_login_ = do_not_prompt;
}
- const scoped_refptr<ResourceRequestBodyImpl>& body() const { return body_; }
+ const scoped_refptr<ResourceRequestBody>& body() const { return body_; }
void ResetBody();
bool initiated_in_secure_context() const {
@@ -238,7 +238,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool report_raw_headers_;
bool is_async_;
PreviewsState previews_state_;
- scoped_refptr<ResourceRequestBodyImpl> body_;
+ scoped_refptr<ResourceRequestBody> body_;
bool initiated_in_secure_context_;
std::unique_ptr<NavigationUIData> navigation_ui_data_;
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698