Describe the bug
The current design of InterceptedRequestHandlerWrapper relies on dangling ResourceRequest* pointers, which is a violation of raw_ptr usage rules (see issue #3717, issue #3239). Refactor InterceptedRequestHandlerWrapper to fix this properly.
We should stop binding |request| in MaybeLoadCookies and instead add a mechanism for retrieving it in ContinueWithLoadedCookies if the request is still valid. Maybe make it a raw_ptr<> member of RequestState.
Describe the bug The current design of InterceptedRequestHandlerWrapper relies on dangling ResourceRequest* pointers, which is a violation of raw_ptr usage rules (see issue #3717, issue #3239). Refactor InterceptedRequestHandlerWrapper to fix this properly.