diff options
Diffstat (limited to 'content/browser/renderer_host/resource_dispatcher_host.h')
-rw-r--r-- | content/browser/renderer_host/resource_dispatcher_host.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/content/browser/renderer_host/resource_dispatcher_host.h b/content/browser/renderer_host/resource_dispatcher_host.h index 21be2a3..cdf30b3 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); }; |