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

Unified Diff: net/url_request/url_request_data_job.cc

Issue 10855209: Refactoring: ProtocolHandler::MaybeCreateJob takes NetworkDelegate as argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest merge 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
« no previous file with comments | « net/url_request/url_request_data_job.h ('k') | net/url_request/url_request_error_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_data_job.cc
diff --git a/net/url_request/url_request_data_job.cc b/net/url_request/url_request_data_job.cc
index ed58cbb7e9ed3172f133f88d08a9b90bca541270..5dffe32a34bf3a1e3928adf44d58f1ce2250386f 100644
--- a/net/url_request/url_request_data_job.cc
+++ b/net/url_request/url_request_data_job.cc
@@ -11,14 +11,16 @@
namespace net {
-URLRequestDataJob::URLRequestDataJob(URLRequest* request)
- : URLRequestSimpleJob(request) {
+URLRequestDataJob::URLRequestDataJob(
+ URLRequest* request, NetworkDelegate* network_delegate)
+ : URLRequestSimpleJob(request, network_delegate) {
}
// static
URLRequestJob* URLRequestDataJob::Factory(URLRequest* request,
+ NetworkDelegate* network_delegate,
const std::string& scheme) {
- return new URLRequestDataJob(request);
+ return new URLRequestDataJob(request, network_delegate);
}
int URLRequestDataJob::GetData(std::string* mime_type,
« no previous file with comments | « net/url_request/url_request_data_job.h ('k') | net/url_request/url_request_error_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698