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

Unified Diff: net/url_request/url_request_file_dir_job.cc

Issue 10855209: Refactoring: ProtocolHandler::MaybeCreateJob takes NetworkDelegate as argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NetworkDelegate fixed almost everywhere 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: net/url_request/url_request_file_dir_job.cc
diff --git a/net/url_request/url_request_file_dir_job.cc b/net/url_request/url_request_file_dir_job.cc
index 796cbf94b5257500630c4541ba7897b507c70777..f450e44e57d002089d4edb6b5c1df8ffe5d0b342 100644
--- a/net/url_request/url_request_file_dir_job.cc
+++ b/net/url_request/url_request_file_dir_job.cc
@@ -25,8 +25,9 @@
namespace net {
URLRequestFileDirJob::URLRequestFileDirJob(URLRequest* request,
+ NetworkDelegate* network_delegate,
const FilePath& dir_path)
- : URLRequestJob(request, request->context()->network_delegate()),
+ : URLRequestJob(request, network_delegate),
ALLOW_THIS_IN_INITIALIZER_LIST(lister_(dir_path, this)),
dir_path_(dir_path),
canceled_(false),

Powered by Google App Engine
This is Rietveld 408576698