diff options
author | shalev@chromium.org <shalev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 17:42:49 +0000 |
---|---|---|
committer | shalev@chromium.org <shalev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 17:42:49 +0000 |
commit | 9d5730b2fd88a6e7710c250b5b0d875d193d8325 (patch) | |
tree | d3bc335707cdaf28335577a627e9a3c8a336a514 /content/shell/shell_url_request_context_getter.cc | |
parent | 468dc4e4a82846f5677c9a906afadb8df590871a (diff) | |
download | chromium_src-9d5730b2fd88a6e7710c250b5b0d875d193d8325.zip chromium_src-9d5730b2fd88a6e7710c250b5b0d875d193d8325.tar.gz chromium_src-9d5730b2fd88a6e7710c250b5b0d875d193d8325.tar.bz2 |
Turned job_factory into a pure virtual class
This makes it possible to create wrappers for job_factory that handle a particular job type, and forward the rest to the old job_factory.
TBR=michaeln@chromium.org, brettw@chromium.org, davemoore@chromium.org, kalman@chromium.org, benjhayden@chromium.org, jochen@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10836248
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_url_request_context_getter.cc')
-rw-r--r-- | content/shell/shell_url_request_context_getter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/shell/shell_url_request_context_getter.cc b/content/shell/shell_url_request_context_getter.cc index 06af8f7..cba69cb 100644 --- a/content/shell/shell_url_request_context_getter.cc +++ b/content/shell/shell_url_request_context_getter.cc @@ -21,7 +21,7 @@ #include "net/proxy/proxy_service.h" #include "net/url_request/url_request_context.h" #include "net/url_request/url_request_context_storage.h" -#include "net/url_request/url_request_job_factory.h" +#include "net/url_request/url_request_job_factory_impl.h" namespace content { @@ -104,7 +104,7 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { "" /* trusted_spdy_proxy */ ); storage_->set_http_transaction_factory(main_cache); - storage_->set_job_factory(new net::URLRequestJobFactory); + storage_->set_job_factory(new net::URLRequestJobFactoryImpl); } return url_request_context_.get(); |