diff options
author | pauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 01:56:44 +0000 |
---|---|---|
committer | pauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 01:56:44 +0000 |
commit | 57486fd5b68831b8e3df30becd18c2dc2d4ba7f5 (patch) | |
tree | 73dc7e2784b97c1c1d9cbed12a957ea52e1b124c /net/url_request/url_request_job_manager.cc | |
parent | c21fcc5b17f1a7234d7649dbc4d24c3b9918605f (diff) | |
download | chromium_src-57486fd5b68831b8e3df30becd18c2dc2d4ba7f5.zip chromium_src-57486fd5b68831b8e3df30becd18c2dc2d4ba7f5.tar.gz chromium_src-57486fd5b68831b8e3df30becd18c2dc2d4ba7f5.tar.bz2 |
Removed static factories for data, ftp, file, and about jobs.
Instead add corresponding ProtocolHandlers as needed.
Remove URLRequestContext members used by these static
factories. Bake FtpAuthCache into FtpProtocolHandler as it
was already unique per FtpProtocolHandler.
This is a revived version of http://crrev.com/10836206
BUG=142945
Review URL: https://chromiumcodereview.appspot.com/11931024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_job_manager.cc')
-rw-r--r-- | net/url_request/url_request_job_manager.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/net/url_request/url_request_job_manager.cc b/net/url_request/url_request_job_manager.cc index 283ee0d..5a64b41 100644 --- a/net/url_request/url_request_job_manager.cc +++ b/net/url_request/url_request_job_manager.cc @@ -12,12 +12,8 @@ #include "net/base/load_flags.h" #include "net/base/net_errors.h" #include "net/base/network_delegate.h" -#include "net/url_request/url_request_about_job.h" #include "net/url_request/url_request_context.h" -#include "net/url_request/url_request_data_job.h" #include "net/url_request/url_request_error_job.h" -#include "net/url_request/url_request_file_job.h" -#include "net/url_request/url_request_ftp_job.h" #include "net/url_request/url_request_http_job.h" #include "net/url_request/url_request_job_factory.h" @@ -36,12 +32,6 @@ struct SchemeToFactory { static const SchemeToFactory kBuiltinFactories[] = { { "http", URLRequestHttpJob::Factory }, { "https", URLRequestHttpJob::Factory }, - { "file", URLRequestFileJob::Factory }, -#if !defined(DISABLE_FTP_SUPPORT) - { "ftp", URLRequestFtpJob::Factory }, -#endif - { "about", URLRequestAboutJob::Factory }, - { "data", URLRequestDataJob::Factory }, }; // static |