Move creation of URLRequestJobFactoryImpl into default delegate.

This commit is contained in:
Cheng Zhao 2014-08-20 14:48:02 +08:00
parent c30f11f38c
commit 3fefdcba0d
2 changed files with 31 additions and 44 deletions

View file

@ -32,12 +32,10 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
Delegate() {}
virtual ~Delegate() {}
virtual net::NetworkDelegate* CreateNetworkDelegate() { return NULL; };
virtual net::NetworkDelegate* CreateNetworkDelegate() { return NULL; }
virtual net::URLRequestJobFactory* CreateURLRequestJobFactory(
content::ProtocolHandlerMap* protocol_handlers,
content::ProtocolHandlerScopedVector* protocol_interceptors) {
return NULL;
};
content::ProtocolHandlerScopedVector* protocol_interceptors);
};
URLRequestContextGetter(