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

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

Issue 10700117: Replaced static URLRequestFileJob factory with non-static protocol handler for File jobs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed context from file_dir_job, merged with error_job cl Created 8 years, 5 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_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 2861e3e9388507a27a995744ff463f98219a634c..abf705e45eb0b3cdab2181a28958f844b523a70d 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -555,7 +555,7 @@ void ProfileIOData::SetUpJobFactoryDefaults(
DCHECK(set_protocol);
set_protocol = job_factory->SetProtocolHandler(
chrome::kExtensionResourceScheme,
- CreateExtensionResourceProtocolHandler());
+ CreateExtensionResourceProtocolHandler(network_delegate()));
DCHECK(set_protocol);
set_protocol = job_factory->SetProtocolHandler(
chrome::kChromeUIScheme,
@@ -564,7 +564,8 @@ void ProfileIOData::SetUpJobFactoryDefaults(
DCHECK(set_protocol);
set_protocol = job_factory->SetProtocolHandler(
chrome::kChromeDevToolsScheme,
- CreateDevToolsProtocolHandler(chrome_url_data_manager_backend_.get()));
+ CreateDevToolsProtocolHandler(chrome_url_data_manager_backend_.get(),
+ network_delegate()));
DCHECK(set_protocol);
#if defined(OS_CHROMEOS)
if (!is_incognito()) {

Powered by Google App Engine
This is Rietveld 408576698