| 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 227b5cf6029cfc31bf882bd02ff5de380973395f..78536c227f61e9ea08c1e7801bae57c11a74064d 100644
|
| --- a/content/test/test_render_frame_host.h
|
| +++ b/content/test/test_render_frame_host.h
|
| @@ -104,6 +104,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_;
|
|
|
|
|