| Index: content/browser/renderer_host/resource_dispatcher_host.h
|
| diff --git a/content/browser/renderer_host/resource_dispatcher_host.h b/content/browser/renderer_host/resource_dispatcher_host.h
|
| index 21be2a34aebd608af89b3f88ed9c768e4819874b..cdf30b304969d57fe016171f88224f07e59f9fd3 100644
|
| --- a/content/browser/renderer_host/resource_dispatcher_host.h
|
| +++ b/content/browser/renderer_host/resource_dispatcher_host.h
|
| @@ -264,6 +264,12 @@ class CONTENT_EXPORT ResourceDispatcherHost : public net::URLRequest::Delegate {
|
| return delegate_;
|
| }
|
|
|
| + // Marks the request as "parked". This happens if a request is
|
| + // redirected cross-site and needs to be resumed by a new render view.
|
| + void MarkAsTransferredNavigation(
|
| + const GlobalRequestID& transferred_request_id,
|
| + net::URLRequest* transferred_request);
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest,
|
| TestBlockedRequestsProcessDies);
|
| @@ -500,6 +506,11 @@ class CONTENT_EXPORT ResourceDispatcherHost : public net::URLRequest::Delegate {
|
| static bool is_prefetch_enabled_;
|
| bool allow_cross_origin_auth_prompt_;
|
|
|
| + // Maps the request ID of request that is being transferred to a new RVH
|
| + // to the respective request.
|
| + typedef std::map<GlobalRequestID, net::URLRequest*> TransferredNavigations;
|
| + TransferredNavigations transferred_navigations_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
|
| };
|
|
|
|
|