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

Unified Diff: webkit/appcache/view_appcache_internals_job.cc

Issue 10855209: Refactoring: ProtocolHandler::MaybeCreateJob takes NetworkDelegate as argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: webkit/appcache/view_appcache_internals_job.cc
diff --git a/webkit/appcache/view_appcache_internals_job.cc b/webkit/appcache/view_appcache_internals_job.cc
index 94ee6015f2d65f28d92a30161bd27a68c99aaaca..4fddd483c5114448613588f06d54df1df3a88a63 100644
--- a/webkit/appcache/view_appcache_internals_job.cc
+++ b/webkit/appcache/view_appcache_internals_job.cc
@@ -22,6 +22,7 @@
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
#include "net/url_request/url_request.h"
+#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_simple_job.h"
#include "net/url_request/view_cache_helper.h"
#include "webkit/appcache/appcache.h"
@@ -312,7 +313,8 @@ GURL ClearQuery(const GURL& url) {
class BaseInternalsJob : public net::URLRequestSimpleJob {
protected:
BaseInternalsJob(net::URLRequest* request, AppCacheService* service)
- : URLRequestSimpleJob(request), appcache_service_(service) {}
+ : URLRequestSimpleJob(request, request->context()->network_delegate()),
+ appcache_service_(service) {}
virtual ~BaseInternalsJob() {}
AppCacheService* appcache_service_;

Powered by Google App Engine
This is Rietveld 408576698