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

Unified Diff: net/url_request/url_request_about_job.cc

Issue 10534100: Decouple URLRequestJob from URLRequestContext; access NetworkDelegate as a contructor parameter. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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_about_job.cc
diff --git a/net/url_request/url_request_about_job.cc b/net/url_request/url_request_about_job.cc
index f305909638340093241c59f73fd4cc913f6afbcc..563ea633b36542b16855e3928b200b0d50699b93 100644
--- a/net/url_request/url_request_about_job.cc
+++ b/net/url_request/url_request_about_job.cc
@@ -11,11 +11,15 @@
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/message_loop.h"
+#include "net/url_request/url_request.h"
+#include "net/url_request/url_request_context.h"
namespace net {
+class NetworkDelegate;
erikwright (departed) 2012/06/13 15:44:18 Is this forward-decl required?
shalev 2012/06/21 20:03:55 Done.
+
URLRequestAboutJob::URLRequestAboutJob(URLRequest* request)
- : URLRequestJob(request),
+ : URLRequestJob(request, request->context()->network_delegate()),
ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
}

Powered by Google App Engine
This is Rietveld 408576698