summaryrefslogtreecommitdiffstats
path: root/content/public/test/mock_render_process_host.h
diff options
context:
space:
mode:
authorclamy@chromium.org <clamy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-07 12:11:58 +0000
committerclamy@chromium.org <clamy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-07 12:11:58 +0000
commit04c2576df57894947ccc73d06db1fdb692ae4668 (patch)
tree7db60b4c76b1bfd1a3d4322100b13d4777107602 /content/public/test/mock_render_process_host.h
parent2bd5169afa8a20be076e2cb0a7ac69022d2b2c04 (diff)
downloadchromium_src-04c2576df57894947ccc73d06db1fdb692ae4668.zip
chromium_src-04c2576df57894947ccc73d06db1fdb692ae4668.tar.gz
chromium_src-04c2576df57894947ccc73d06db1fdb692ae4668.tar.bz2
Have the unload event execute in background on cross-site navigations
Cross-site navigations trigger renderer swap. This CL makes it so that the swap does not need for the old renderer unload event to be fired. Instead, it will be executed in the background, and the new renderer will be swapped in immediately. BUG=323528 Review URL: https://codereview.chromium.org/88503002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249676 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/test/mock_render_process_host.h')
-rw-r--r--content/public/test/mock_render_process_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h
index d3c9739..063cb8e 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -81,6 +81,8 @@ class MockRenderProcessHost : public RenderProcessHost {
virtual void SetWebRtcLogMessageCallback(
base::Callback<void(const std::string&)> callback) OVERRIDE;
#endif
+ virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id)
+ OVERRIDE;
// IPC::Sender via RenderProcessHost.
virtual bool Send(IPC::Message* msg) OVERRIDE;