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

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

Issue 2954343005: Merge ResourceRequestBodyImpl and ResourceRequestBody. (Closed)
Patch Set: Remove comment Created 3 years, 5 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') | no next file » | 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 "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/threading/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "content/child/web_url_loader_impl.h" 9 #include "content/child/web_url_loader_impl.h"
10 #include "content/common/frame_messages.h" 10 #include "content/common/frame_messages.h"
11 #include "content/common/navigation_params.h" 11 #include "content/common/navigation_params.h"
12 #include "content/common/resource_request_body_impl.h"
13 #include "content/public/common/associated_interface_provider.h" 12 #include "content/public/common/associated_interface_provider.h"
14 #include "content/public/common/browser_side_navigation_policy.h" 13 #include "content/public/common/browser_side_navigation_policy.h"
15 #include "content/public/common/resource_response.h" 14 #include "content/public/common/resource_response.h"
16 #include "content/public/test/mock_render_thread.h" 15 #include "content/public/test/mock_render_thread.h"
17 #include "third_party/WebKit/public/web/WebLocalFrame.h" 16 #include "third_party/WebKit/public/web/WebLocalFrame.h"
18 17
19 namespace content { 18 namespace content {
20 19
21 class MockFrameHost : public mojom::FrameHost { 20 class MockFrameHost : public mojom::FrameHost {
22 public: 21 public:
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 132
134 mojom::FrameHostAssociatedPtr TestRenderFrame::GetFrameHost() { 133 mojom::FrameHostAssociatedPtr TestRenderFrame::GetFrameHost() {
135 mojom::FrameHostAssociatedPtr ptr = RenderFrameImpl::GetFrameHost(); 134 mojom::FrameHostAssociatedPtr ptr = RenderFrameImpl::GetFrameHost();
136 135
137 // Needed to ensure no deadlocks when waiting for sync IPC. 136 // Needed to ensure no deadlocks when waiting for sync IPC.
138 ptr.FlushForTesting(); 137 ptr.FlushForTesting();
139 return ptr; 138 return ptr;
140 } 139 }
141 140
142 } // namespace content 141 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698