mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Replace the default one with our own
This commit is contained in:
@@ -155,7 +155,7 @@ URLRequestContextGetter::URLRequestContextGetter(
|
||||
in_memory_(in_memory),
|
||||
io_loop_(io_loop),
|
||||
file_loop_(file_loop),
|
||||
url_sec_mgr_(net::URLSecurityManager::Create(NULL, NULL)),
|
||||
url_sec_mgr_(new ExplicitURLSecurityManager()),
|
||||
protocol_interceptors_(protocol_interceptors.Pass()) {
|
||||
// Must first be created on the UI thread.
|
||||
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
||||
|
||||
@@ -95,7 +95,7 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
|
||||
scoped_ptr<net::URLRequestContextStorage> storage_;
|
||||
scoped_ptr<net::URLRequestContext> url_request_context_;
|
||||
scoped_ptr<net::HostMappingRules> host_mapping_rules_;
|
||||
scoped_ptr<net::URLSecurityManager> url_sec_mgr_;
|
||||
scoped_ptr<ExplicitURLSecurityManager> url_sec_mgr_;
|
||||
content::ProtocolHandlerMap protocol_handlers_;
|
||||
content::URLRequestInterceptorScopedVector protocol_interceptors_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user