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 /webkit/tools | |
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 'webkit/tools')
-rw-r--r-- | webkit/tools/test_shell/test_shell_request_context.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/test_shell_request_context.cc b/webkit/tools/test_shell/test_shell_request_context.cc index 42d73c2..b5b8dd3 100644 --- a/webkit/tools/test_shell/test_shell_request_context.cc +++ b/webkit/tools/test_shell/test_shell_request_context.cc @@ -22,7 +22,7 @@ #include "net/proxy/proxy_config_service.h" #include "net/proxy/proxy_config_service_fixed.h" #include "net/proxy/proxy_service.h" -#include "net/url_request/url_request_job_factory.h" +#include "net/url_request/url_request_job_factory_impl.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h" #include "webkit/blob/blob_storage_controller.h" @@ -120,7 +120,7 @@ void TestShellRequestContext::Init( file_system_context_ = static_cast<SimpleFileSystem*>( WebKit::webKitPlatformSupport()->fileSystem())->file_system_context(); - net::URLRequestJobFactory* job_factory = new net::URLRequestJobFactory; + net::URLRequestJobFactory* job_factory = new net::URLRequestJobFactoryImpl(); job_factory->SetProtocolHandler( "blob", new webkit_blob::BlobProtocolHandler( |