mirror of
https://github.com/electron/electron.git
synced 2026-01-24 23:08:10 -05:00
Code cleanup
This commit is contained in:
@@ -169,15 +169,12 @@ void AtomBrowserContext::RegisterPrefs(PrefRegistrySimple* pref_registry) {
|
||||
base::FilePath());
|
||||
}
|
||||
|
||||
|
||||
bool AtomBrowserContext::AllowNTLMCredentialsForDomain
|
||||
(const GURL& auth_origin) {
|
||||
if (allow_ntlm_everywhere_) return true;
|
||||
return brightray::URLRequestContextGetter
|
||||
::Delegate::AllowNTLMCredentialsForDomain(auth_origin);
|
||||
bool AtomBrowserContext::AllowNTLMCredentialsForDomain(const GURL& origin) {
|
||||
if (allow_ntlm_everywhere_)
|
||||
return true;
|
||||
return Delegate::AllowNTLMCredentialsForDomain(origin);
|
||||
}
|
||||
|
||||
|
||||
void AtomBrowserContext::AllowNTLMCredentialsForAllDomains(bool should_allow) {
|
||||
allow_ntlm_everywhere_ = should_allow;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user