Create a new method on App to override URL Security Manager's decisions wrt NTLM
This commit is contained in:
parent
f0825bf7ef
commit
7ac643d5f8
3 changed files with 9 additions and 1 deletions
|
@ -251,6 +251,12 @@ void App::SetAppUserModelId(const std::string& app_id) {
|
|||
#endif
|
||||
}
|
||||
|
||||
void App::AllowNTLMCredentialsForAllDomains(bool should_allow) {
|
||||
auto browser_context = static_cast<AtomBrowserContext*>(
|
||||
AtomBrowserMainParts::Get()->browser_context());
|
||||
browser_context->AllowNTLMCredentialsForAllDomains(should_allow);
|
||||
}
|
||||
|
||||
std::string App::GetLocale() {
|
||||
return l10n_util::GetApplicationLocale("");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue