fix: UAF with http auth preferences (3-1-x)
This commit is contained in:
parent
349f10d779
commit
e7688723f9
2 changed files with 21 additions and 8 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue