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 /net/proxy | |
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 'net/proxy')
-rw-r--r-- | net/proxy/proxy_script_fetcher_impl_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc index 7ece88c..5fc8099 100644 --- a/net/proxy/proxy_script_fetcher_impl_unittest.cc +++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc @@ -23,7 +23,7 @@ #include "net/test/test_server.h" #include "net/url_request/url_request_context_storage.h" #include "net/url_request/url_request_file_job.h" -#include "net/url_request/url_request_job_factory.h" +#include "net/url_request/url_request_job_factory_impl.h" #include "net/url_request/url_request_test_util.h" #include "testing/gtest/include/gtest/gtest.h" #include "testing/platform_test.h" @@ -90,7 +90,7 @@ class RequestContext : public URLRequestContext { storage_.set_http_transaction_factory(new HttpCache( network_session, HttpCache::DefaultBackend::InMemory(0))); - url_request_job_factory_.reset(new URLRequestJobFactory); + url_request_job_factory_.reset(new URLRequestJobFactoryImpl); set_job_factory(url_request_job_factory_.get()); url_request_job_factory_->AddInterceptor( new CheckNoRevocationFlagSetInterceptor); |