NetworkService: Implement URLLoader::OnAuthRequired
https://chromium-review.googlesource.com/c/chromium/src/+/938960
This commit is contained in:
parent
27cb84eee0
commit
0cbffb15cc
6 changed files with 54 additions and 58 deletions
|
@ -5,7 +5,6 @@
|
|||
#include "atom/browser/atom_resource_dispatcher_host_delegate.h"
|
||||
|
||||
#include "atom/browser/atom_browser_context.h"
|
||||
#include "atom/browser/login_handler.h"
|
||||
#include "atom/browser/web_contents_permission_helper.h"
|
||||
#include "atom/browser/web_contents_preferences.h"
|
||||
#include "atom/common/platform_util.h"
|
||||
|
@ -114,13 +113,6 @@ bool AtomResourceDispatcherHostDelegate::HandleExternalProtocol(
|
|||
return true;
|
||||
}
|
||||
|
||||
content::ResourceDispatcherHostLoginDelegate*
|
||||
AtomResourceDispatcherHostDelegate::CreateLoginDelegate(
|
||||
net::AuthChallengeInfo* auth_info,
|
||||
net::URLRequest* request) {
|
||||
return new LoginHandler(auth_info, request);
|
||||
}
|
||||
|
||||
bool AtomResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream(
|
||||
net::URLRequest* request,
|
||||
const std::string& mime_type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue