| Index: content/browser/renderer_host/resource_dispatcher_host_impl.h
|
| diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.h b/content/browser/renderer_host/resource_dispatcher_host_impl.h
|
| index d4b1c3c038225690f7143aca75529e5ff338324f..39620ea401e843aa57962741823499dd64071499 100644
|
| --- a/content/browser/renderer_host/resource_dispatcher_host_impl.h
|
| +++ b/content/browser/renderer_host/resource_dispatcher_host_impl.h
|
| @@ -164,6 +164,11 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| // Called when the unload handler for a cross-site request has finished.
|
| void OnSwapOutACK(const ViewMsg_SwapOut_Params& params);
|
|
|
| + // Called when we want to simulate the renderer process sending
|
| + // ViewHostMsg_SwapOut_ACK in cases where the renderer has died or is
|
| + // unresponsive.
|
| + void OnSimulateSwapOutACK(const ViewMsg_SwapOut_Params& params);
|
| +
|
| // Called when the renderer loads a resource from its internal cache.
|
| void OnDidLoadResourceFromMemoryCache(const GURL& url,
|
| const std::string& security_info,
|
| @@ -276,6 +281,10 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| // A shutdown helper that runs on the IO thread.
|
| void OnShutdown();
|
|
|
| + // The real implementation of the OnSwapOutACK logic. Public methods call
|
| + // this method with the proper value for the timed_out parameter.
|
| + void HandleSwapOutACK(const ViewMsg_SwapOut_Params& params, bool timed_out);
|
| +
|
| void StartRequest(net::URLRequest* request);
|
|
|
| // Returns true if the request is paused.
|
|
|