| Index: content/shell/shell_url_request_context_getter.h
|
| diff --git a/content/shell/shell_url_request_context_getter.h b/content/shell/shell_url_request_context_getter.h
|
| index 23f79d16807337f4c904a8d691cf5ecc838d24c4..846c5d38f1a581da2a06bb6d4e736b42bea5efd3 100644
|
| --- a/content/shell/shell_url_request_context_getter.h
|
| +++ b/content/shell/shell_url_request_context_getter.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "content/public/browser/content_browser_client.h"
|
| #include "net/url_request/url_request_context_getter.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
|
|
| @@ -31,16 +32,7 @@ class ShellURLRequestContextGetter : public net::URLRequestContextGetter {
|
| const base::FilePath& base_path,
|
| MessageLoop* io_loop,
|
| MessageLoop* file_loop,
|
| - 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);
|
| + ProtocolHandlerMap* protocol_handlers);
|
|
|
| // net::URLRequestContextGetter implementation.
|
| virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
|
| @@ -62,16 +54,7 @@ class ShellURLRequestContextGetter : public net::URLRequestContextGetter {
|
| scoped_ptr<net::NetworkDelegate> network_delegate_;
|
| scoped_ptr<net::URLRequestContextStorage> storage_;
|
| scoped_ptr<net::URLRequestContext> url_request_context_;
|
| - 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_;
|
| + ProtocolHandlerMap protocol_handlers_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter);
|
| };
|
|
|