bool in_memory)
: brightray::BrowserContext(partition, in_memory),
job_factory_(new AtomURLRequestJobFactory),
- allow_ntlm_everywhere_(false) {
+ allow_ntlm_everywhere_(false) {
}
AtomBrowserContext::~AtomBrowserContext() {
}
-bool AtomBrowserContext::AllowNTLMCredentialsForDomain(const GURL& auth_origin) {
+bool AtomBrowserContext::AllowNTLMCredentialsForDomain
+ (const GURL& auth_origin) {
if (allow_ntlm_everywhere_) return true;
- return brightray::URLRequestContextGetter::Delegate::AllowNTLMCredentialsForDomain(auth_origin);
+ return brightray::URLRequestContextGetter
+ ::Delegate::AllowNTLMCredentialsForDomain(auth_origin);
}
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_; }
// Managed by brightray::BrowserContext.
AtomURLRequestJobFactory* job_factory_;
-
+
bool allow_ntlm_everywhere_;
DISALLOW_COPY_AND_ASSIGN(AtomBrowserContext);