Code cleanup
This commit is contained in:
parent
14e2bbe4c7
commit
a7a399dcd8
1 changed files with 4 additions and 7 deletions
|
@ -169,15 +169,12 @@ void AtomBrowserContext::RegisterPrefs(PrefRegistrySimple* pref_registry) {
|
||||||
base::FilePath());
|
base::FilePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool AtomBrowserContext::AllowNTLMCredentialsForDomain(const GURL& origin) {
|
||||||
bool AtomBrowserContext::AllowNTLMCredentialsForDomain
|
if (allow_ntlm_everywhere_)
|
||||||
(const GURL& auth_origin) {
|
return true;
|
||||||
if (allow_ntlm_everywhere_) return true;
|
return Delegate::AllowNTLMCredentialsForDomain(origin);
|
||||||
return brightray::URLRequestContextGetter
|
|
||||||
::Delegate::AllowNTLMCredentialsForDomain(auth_origin);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void AtomBrowserContext::AllowNTLMCredentialsForAllDomains(bool should_allow) {
|
void AtomBrowserContext::AllowNTLMCredentialsForAllDomains(bool should_allow) {
|
||||||
allow_ntlm_everywhere_ = should_allow;
|
allow_ntlm_everywhere_ = should_allow;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue