mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Don't create empty url request job factory.
This commit is contained in:
@@ -118,12 +118,6 @@ net::NetworkDelegate* BrowserContext::CreateNetworkDelegate() {
|
||||
return new NetworkDelegate;
|
||||
}
|
||||
|
||||
net::URLRequestJobFactory* BrowserContext::CreateURLRequestJobFactory(
|
||||
content::ProtocolHandlerMap* protocol_handlers,
|
||||
content::URLRequestInterceptorScopedVector* protocol_interceptors) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
base::FilePath BrowserContext::GetPath() const {
|
||||
return path_;
|
||||
}
|
||||
|
||||
@@ -40,9 +40,6 @@ class BrowserContext : public content::BrowserContext,
|
||||
|
||||
// URLRequestContextGetter::Delegate:
|
||||
virtual net::NetworkDelegate* CreateNetworkDelegate() OVERRIDE;
|
||||
virtual net::URLRequestJobFactory* CreateURLRequestJobFactory(
|
||||
content::ProtocolHandlerMap* protocol_handlers,
|
||||
content::URLRequestInterceptorScopedVector* protocol_interceptors) OVERRIDE;
|
||||
|
||||
virtual base::FilePath GetPath() const OVERRIDE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user