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

Unified Diff: content/renderer/render_view_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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/test/test_render_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_browsertest.cc
diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc
index c1b14ade1f2a41bc6cbd23e407eb40b86249c359..934b62492b5813773a4e277a388585540ac67697 100644
--- a/content/renderer/render_view_browsertest.cc
+++ b/content/renderer/render_view_browsertest.cc
@@ -39,6 +39,7 @@
#include "content/public/common/browser_side_navigation_policy.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/page_zoom.h"
+#include "content/public/common/resource_request_body.h"
#include "content/public/common/url_constants.h"
#include "content/public/common/url_utils.h"
#include "content/public/renderer/content_renderer_client.h"
@@ -609,7 +610,7 @@ TEST_F(RenderViewImplTest, OnNavigationHttpPost) {
// Set up post data.
const char raw_data[] = "post \0\ndata";
const size_t length = arraysize(raw_data);
- scoped_refptr<ResourceRequestBodyImpl> post_data(new ResourceRequestBodyImpl);
+ scoped_refptr<ResourceRequestBody> post_data(new ResourceRequestBody);
post_data->AppendBytes(raw_data, length);
common_params.post_data = post_data;
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/test/test_render_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698