diff options
Diffstat (limited to 'chrome/browser/net/chrome_url_request_context.h')
-rw-r--r-- | chrome/browser/net/chrome_url_request_context.h | 44 |
1 files changed, 4 insertions, 40 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h index 88fcc50..db09992 100644 --- a/chrome/browser/net/chrome_url_request_context.h +++ b/chrome/browser/net/chrome_url_request_context.h @@ -92,16 +92,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter { static ChromeURLRequestContextGetter* CreateOriginal( Profile* profile, const ProfileIOData* profile_io_data, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - blob_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - file_system_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - developer_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - chrome_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - chrome_devtools_protocol_handler); + content::ProtocolHandlerMap* protocol_handlers); // Create an instance for an original profile for media. This is expected to // get called on UI thread. This method takes a profile and reuses the @@ -122,16 +113,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter { const StoragePartitionDescriptor& partition_descriptor, scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> protocol_handler_interceptor, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - blob_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - file_system_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - developer_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - chrome_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - chrome_devtools_protocol_handler); + content::ProtocolHandlerMap* protocol_handlers); // Create an instance for an original profile for media with isolated // storage. This is expected to get called on UI thread. @@ -146,16 +128,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter { static ChromeURLRequestContextGetter* CreateOffTheRecord( Profile* profile, const ProfileIOData* profile_io_data, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - blob_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - file_system_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - developer_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - chrome_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - chrome_devtools_protocol_handler); + content::ProtocolHandlerMap* protocol_handlers); // Create an instance for an OTR profile for extensions. This is expected // to get called on UI thread. @@ -170,16 +143,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter { const StoragePartitionDescriptor& partition_descriptor, scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> protocol_handler_interceptor, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - blob_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - file_system_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - developer_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - chrome_protocol_handler, - scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> - chrome_devtools_protocol_handler); + content::ProtocolHandlerMap* protocol_handlers); private: virtual ~ChromeURLRequestContextGetter(); |