mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
When NetworkService is enabled requests created using CefFrame::CreateURLRequest will call CefRequestHandler::GetAuthCredentials for the associated browser after calling CefURLRequestClient::GetAuthCredentials if that call returns false.
This commit is contained in:
@@ -126,9 +126,10 @@ class Handler : public CefMessageRouterBrowserSide::Handler {
|
||||
const RequestClient::Callback& request_callback =
|
||||
base::Bind(&Handler::OnRequestComplete, base::Unretained(this));
|
||||
|
||||
// Create and start the new CefURLRequest.
|
||||
urlrequest_ = CefURLRequest::Create(
|
||||
cef_request, new RequestClient(request_callback), NULL);
|
||||
// Create and start a new CefURLRequest associated with the frame, so
|
||||
// that it shares authentication with ClientHandler::GetAuthCredentials.
|
||||
urlrequest_ = frame->CreateURLRequest(
|
||||
cef_request, new RequestClient(request_callback));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user