Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 10836248: Turned job_factory into a pure virtual class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index f233e8217543529c2f0d54bd0a304f0b02cf745f..96abe8da5c3e1e21e79a0620a8bcc42cdd39700d 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -36,7 +36,7 @@
#include "net/http/http_cache.h"
#include "net/url_request/file_protocol_handler.h"
#include "net/url_request/ftp_protocol_handler.h"
-#include "net/url_request/url_request_job_factory.h"
+#include "net/url_request/url_request_job_factory_impl.h"
#include "webkit/quota/special_storage_policy.h"
using content::BrowserThread;
@@ -450,9 +450,9 @@ void ProfileImplIOData::LazyInitializeInternal(
// media cache.
media_request_context_.reset(InitializeMediaRequestContext(main_context, ""));
- main_job_factory_.reset(new net::URLRequestJobFactory);
- media_request_job_factory_.reset(new net::URLRequestJobFactory);
- extensions_job_factory_.reset(new net::URLRequestJobFactory);
+ main_job_factory_.reset(new net::URLRequestJobFactoryImpl);
+ media_request_job_factory_.reset(new net::URLRequestJobFactoryImpl);
+ extensions_job_factory_.reset(new net::URLRequestJobFactoryImpl);
int set_protocol = main_job_factory_->SetProtocolHandler(
chrome::kFileScheme, new net::FileProtocolHandler(network_delegate()));

Powered by Google App Engine
This is Rietveld 408576698