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

Side by Side Diff: content/test/test_render_frame.cc

Issue 1999943002: Moving HTTP POST body from StartNavigationParams to CommonNavigationParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR feedback from clamy@. Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/test/test_render_frame.h" 5 #include "content/test/test_render_frame.h"
6 6
7 #include "content/common/navigation_params.h" 7 #include "content/common/navigation_params.h"
8 #include "content/common/resource_request_body.h" 8 #include "content/common/resource_request_body.h"
9 #include "content/public/common/browser_side_navigation_policy.h" 9 #include "content/public/common/browser_side_navigation_policy.h"
10 #include "content/public/common/resource_response.h" 10 #include "content/public/common/resource_response.h"
(...skipping 12 matching lines...) Expand all
23 23
24 TestRenderFrame::~TestRenderFrame() { 24 TestRenderFrame::~TestRenderFrame() {
25 } 25 }
26 26
27 void TestRenderFrame::Navigate(const CommonNavigationParams& common_params, 27 void TestRenderFrame::Navigate(const CommonNavigationParams& common_params,
28 const StartNavigationParams& start_params, 28 const StartNavigationParams& start_params,
29 const RequestNavigationParams& request_params) { 29 const RequestNavigationParams& request_params) {
30 // PlzNavigate 30 // PlzNavigate
31 if (IsBrowserSideNavigationEnabled()) { 31 if (IsBrowserSideNavigationEnabled()) {
32 OnCommitNavigation(ResourceResponseHead(), GURL(), common_params, 32 OnCommitNavigation(ResourceResponseHead(), GURL(), common_params,
33 request_params, nullptr); 33 request_params);
34 } else { 34 } else {
35 OnNavigate(common_params, start_params, request_params); 35 OnNavigate(common_params, start_params, request_params);
36 } 36 }
37 } 37 }
38 38
39 void TestRenderFrame::SwapOut( 39 void TestRenderFrame::SwapOut(
40 int proxy_routing_id, 40 int proxy_routing_id,
41 bool is_loading, 41 bool is_loading,
42 const FrameReplicationState& replicated_frame_state) { 42 const FrameReplicationState& replicated_frame_state) {
43 OnSwapOut(proxy_routing_id, is_loading, replicated_frame_state); 43 OnSwapOut(proxy_routing_id, is_loading, replicated_frame_state);
(...skipping 16 matching lines...) Expand all
60 } 60 }
61 61
62 void TestRenderFrame::SetCompositionFromExistingText( 62 void TestRenderFrame::SetCompositionFromExistingText(
63 int start, 63 int start,
64 int end, 64 int end,
65 const std::vector<blink::WebCompositionUnderline>& underlines) { 65 const std::vector<blink::WebCompositionUnderline>& underlines) {
66 OnSetCompositionFromExistingText(start, end, underlines); 66 OnSetCompositionFromExistingText(start, end, underlines);
67 } 67 }
68 68
69 } // namespace content 69 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698