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

Unified Diff: chrome/browser/profiles/off_the_record_profile_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/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index 79112ec0d3678c182f2e1a600bec26ce462434f4..54d44fcb04bfdbafbed6b6daeaa7cf8f8673a858 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -31,7 +31,7 @@
#include "net/http/http_server_properties_impl.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/database/database_tracker.h"
using content::BrowserThread;
@@ -251,8 +251,8 @@ void OffTheRecordProfileIOData::LazyInitializeInternal(
main_context->set_chrome_url_data_manager_backend(
chrome_url_data_manager_backend());
- main_job_factory_.reset(new net::URLRequestJobFactory);
- extensions_job_factory_.reset(new net::URLRequestJobFactory);
+ main_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