bool in_memory)
: brightray::BrowserContext(partition, in_memory),
job_factory_(new AtomURLRequestJobFactory),
- allow_ntlm_everywhere_(false) : { }
+ allow_ntlm_everywhere_(false) {
+}
AtomBrowserContext::~AtomBrowserContext() {
}
return brightray::URLRequestContextGetter::Delegate::AllowNTLMCredentialsForDomain(auth_origin);
}
+
+void AtomBrowserContext::AllowNTLMCredentialsForAllDomains(bool should_allow) {
+ allow_ntlm_everywhere_ = should_allow;
+}
+
} // namespace atom
namespace brightray {
public:
AtomBrowserContext(const std::string& partition, bool in_memory);
~AtomBrowserContext() override;
-
+
// brightray::URLRequestContextGetter::Delegate:
std::string GetUserAgent() override;
net::URLRequestJobFactory* CreateURLRequestJobFactory(
// brightray::BrowserContext:
void RegisterPrefs(PrefRegistrySimple* pref_registry) override;
+
+ void AllowNTLMCredentialsForAllDomains(bool should_allow);
AtomURLRequestJobFactory* job_factory() const { return job_factory_; }