NetworkService: Implement URLLoader::OnAuthRequired

https://chromium-review.googlesource.com/c/chromium/src/+/938960
This commit is contained in:
deepak1556 2018-04-12 14:56:41 +05:30 committed by Samuel Attard
parent 27cb84eee0
commit 0cbffb15cc
6 changed files with 54 additions and 58 deletions

View file

@ -106,6 +106,14 @@ class AtomBrowserClient : public brightray::BrowserClient,
void SiteInstanceDeleting(content::SiteInstance* site_instance) override;
std::unique_ptr<net::ClientCertStore> CreateClientCertStore(
content::ResourceContext* resource_context) override;
content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
net::AuthChallengeInfo* auth_info,
content::ResourceRequestInfo::WebContentsGetter web_contents_getter,
bool is_main_frame,
const GURL& url,
bool first_auth_attempt,
const base::Callback<void(const base::Optional<net::AuthCredentials>&)>&
auth_required_callback) override;
// brightray::BrowserClient:
brightray::BrowserMainParts* OverrideCreateBrowserMainParts(