| Index: content/test/test_render_frame_host.h
|
| diff --git a/content/test/test_render_frame_host.h b/content/test/test_render_frame_host.h
|
| index 8019950d7143bcadd16749a7b52bedc276d9cf34..395bbea1b2c587141d08cd03267c74942901f38b 100644
|
| --- a/content/test/test_render_frame_host.h
|
| +++ b/content/test/test_render_frame_host.h
|
| @@ -103,6 +103,12 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
|
| // interaction with the IO thread up until the response is ready to commit.
|
| void PrepareForCommit(const GURL& url);
|
|
|
| + // Simulate receiving a FrameHostMsg_BeforeUnloadHandlersPresent.
|
| + void SendBeforeUnloadHandlersPresent(bool present);
|
| +
|
| + // Simulate receiving a FrameHostMsg_UnloadHandlersPresent.
|
| + void SendUnloadHandlersPresent(bool present);
|
| +
|
| private:
|
| TestRenderFrameHostCreationObserver child_creation_observer_;
|
|
|
|
|