fix: UAF with http auth preferences (3-1-x)

This commit is contained in:
deepak1556 2018-12-19 11:03:47 +05:30
parent 349f10d779
commit e7688723f9
2 changed files with 21 additions and 8 deletions

View file

@ -24,8 +24,9 @@ class RequireCTDelegate;
} // namespace brightray
namespace net {
class HttpAuthPreferences;
class NetLog;
}
} // namespace net
namespace atom {
@ -100,6 +101,7 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
std::unique_ptr<brightray::RequireCTDelegate> ct_delegate_;
std::unique_ptr<AtomURLRequestJobFactory> top_job_factory_;
std::unique_ptr<net::HttpAuthPreferences> http_auth_preferences_;
std::unique_ptr<network::mojom::NetworkContext> network_context_;
net::NetLog* net_log_;