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

Unified Diff: content/browser/security_exploit_browsertest.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
Index: content/browser/security_exploit_browsertest.cc
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc
index 43f8dc2e237c042309dd9f072760d0641e1032cf..d1450aeb5ac20f752e81ed28aece5b87e96b48fb 100644
--- a/content/browser/security_exploit_browsertest.cc
+++ b/content/browser/security_exploit_browsertest.cc
@@ -34,6 +34,7 @@
#include "content/public/common/browser_side_navigation_policy.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/file_chooser_params.h"
+#include "content/public/common/resource_request_body.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
@@ -591,7 +592,7 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest,
FrameHostMsg_OpenURL_Params params;
params.url = target_url;
params.uses_post = true;
- params.resource_request_body = new ResourceRequestBodyImpl;
+ params.resource_request_body = new ResourceRequestBody;
params.resource_request_body->AppendFileRange(
file_path, 0, file_content.size(), base::Time());
params.disposition = WindowOpenDisposition::CURRENT_TAB;

Powered by Google App Engine
This is Rietveld 408576698