| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index 89b7255c1e3e285e1de196113afa0dd7f4b17f49..b29f83c4d54f210e6af5dd7a86e8e5a8114cc5f7 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -17,6 +17,7 @@
|
| #include "content/browser/power_monitor_message_broadcaster.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/gpu_data_manager_observer.h"
|
| +#include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
| #include "ipc/ipc_platform_file.h"
|
| @@ -182,6 +183,14 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| scoped_refptr<ScreenOrientationDispatcherHost>
|
| screen_orientation_dispatcher_host() const;
|
|
|
| + // Used to extend the lifetime of the sessions until the render view
|
| + // in the renderer is fully closed. This is static because its also called
|
| + // with mock hosts as input in test cases.
|
| + static void ReleaseOnCloseACK(
|
| + RenderProcessHost* host,
|
| + const SessionStorageNamespaceMap& sessions,
|
| + int view_route_id);
|
| +
|
| // Register/unregister the host identified by the host id in the global host
|
| // list.
|
| static void RegisterHost(int host_id, RenderProcessHost* host);
|
| @@ -292,6 +301,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| void SuddenTerminationChanged(bool enabled);
|
| void OnUserMetricsRecordAction(const std::string& action);
|
| void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size);
|
| + void OnCloseACK(int old_route_id);
|
|
|
| // CompositorSurfaceBuffersSwapped handler when there's no RWH.
|
| void OnCompositorSurfaceBuffersSwappedNoHost(
|
|
|