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..448ac9331cc3c50d7467783292c7df9e524dce8d 100644 |
--- a/content/test/test_render_frame.h |
+++ b/content/test/test_render_frame.h |
@@ -5,8 +5,12 @@ |
#ifndef CONTENT_TEST_TEST_RENDER_FRAME_H_ |
#define CONTENT_TEST_TEST_RENDER_FRAME_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
+#include "content/common/frame.mojom.h" |
#include "content/renderer/render_frame_impl.h" |
+#include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h" |
namespace blink { |
class WebHistoryItem; |
@@ -15,6 +19,7 @@ class WebHistoryItem; |
namespace content { |
struct CommonNavigationParams; |
+class MockFrameHost; |
struct RequestNavigationParams; |
struct StartNavigationParams; |
@@ -49,8 +54,14 @@ class TestRenderFrame : public RenderFrameImpl { |
blink::WebNavigationPolicy DecidePolicyForNavigation( |
const blink::WebFrameClient::NavigationPolicyInfo& info) override; |
+ mojom::FrameHostAssociatedPtr GetFrameHost() override; |
+ |
private: |
+ void BindFrameHost(mojo::ScopedInterfaceEndpointHandle handle); |
explicit TestRenderFrame(const RenderFrameImpl::CreateParams& params); |
+ |
+ std::unique_ptr<MockFrameHost> mock_frame_host_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TestRenderFrame); |
}; |