Index: content/test/test_render_frame.h |
diff --git a/content/test/test_render_frame.h b/content/test/test_render_frame.h |
index c200b1ad49c6981c0567a58d0b105ec130fc536f..51d7dffa5d031ff4606778407568550d19131f60 100644 |
--- a/content/test/test_render_frame.h |
+++ b/content/test/test_render_frame.h |
@@ -5,6 +5,8 @@ |
#ifndef CONTENT_TEST_TEST_RENDER_FRAME_H_ |
#define CONTENT_TEST_TEST_RENDER_FRAME_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
#include "content/renderer/render_frame_impl.h" |
@@ -15,6 +17,7 @@ class WebHistoryItem; |
namespace content { |
struct CommonNavigationParams; |
+class MockFrameHostIPC; |
struct RequestNavigationParams; |
struct StartNavigationParams; |
@@ -49,8 +52,13 @@ class TestRenderFrame : public RenderFrameImpl { |
blink::WebNavigationPolicy DecidePolicyForNavigation( |
const blink::WebFrameClient::NavigationPolicyInfo& info) override; |
+ mojom::FrameHostIPC* GetFrameHostIPC() override; |
+ |
private: |
explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); |
+ |
+ std::unique_ptr<MockFrameHostIPC> mock_frame_host_ipc_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); |
}; |