| Index: trunk/src/content/shell/shell_url_request_context_getter.cc
|
| ===================================================================
|
| --- trunk/src/content/shell/shell_url_request_context_getter.cc (revision 188924)
|
| +++ trunk/src/content/shell/shell_url_request_context_getter.cc (working copy)
|
| @@ -27,8 +27,6 @@
|
| #include "net/ssl/default_server_bound_cert_store.h"
|
| #include "net/ssl/server_bound_cert_service.h"
|
| #include "net/ssl/ssl_config_service_defaults.h"
|
| -#include "net/url_request/data_protocol_handler.h"
|
| -#include "net/url_request/file_protocol_handler.h"
|
| #include "net/url_request/protocol_intercept_job_factory.h"
|
| #include "net/url_request/static_http_user_agent_settings.h"
|
| #include "net/url_request/url_request_context.h"
|
| @@ -178,17 +176,7 @@
|
|
|
| scoped_ptr<net::URLRequestJobFactoryImpl> job_factory(
|
| new net::URLRequestJobFactoryImpl());
|
| - // Keep ProtocolHandlers added in sync with
|
| - // ShellContentBrowserClient::IsHandledURL().
|
| InstallProtocolHandlers(job_factory.get(), &protocol_handlers_);
|
| - bool set_protocol = job_factory->SetProtocolHandler(
|
| - chrome::kDataScheme,
|
| - new net::DataProtocolHandler);
|
| - DCHECK(set_protocol);
|
| - set_protocol = job_factory->SetProtocolHandler(
|
| - chrome::kFileScheme,
|
| - new net::FileProtocolHandler);
|
| - DCHECK(set_protocol);
|
| storage_->set_job_factory(job_factory.release());
|
| }
|
|
|
|
|