Index: net/url_request/url_request_job_manager.h |
diff --git a/net/url_request/url_request_job_manager.h b/net/url_request/url_request_job_manager.h |
index 5412ef0dcce742c0f7a11d9726c9904295fa29ef..ea441bea316542dc6422e614f35b771aabe65a53 100644 |
--- a/net/url_request/url_request_job_manager.h |
+++ b/net/url_request/url_request_job_manager.h |
@@ -36,18 +36,21 @@ class URLRequestJobManager { |
// Instantiate an URLRequestJob implementation based on the registered |
// interceptors and protocol factories. This will always succeed in |
// returning a job unless we are--in the extreme case--out of memory. |
- URLRequestJob* CreateJob(URLRequest* request) const; |
+ URLRequestJob* CreateJob(URLRequest* request, |
+ NetworkDelegate* network_delegate) const; |
// Allows interceptors to hijack the request after examining the new location |
// of a redirect. Returns NULL if no interceptor intervenes. |
URLRequestJob* MaybeInterceptRedirect(URLRequest* request, |
- const GURL& location) const; |
+ NetworkDelegate* network_delegate, |
+ const GURL& location) const; |
// Allows interceptors to hijack the request after examining the response |
// status and headers. This is also called when there is no server response |
// at all to allow interception of failed requests due to network errors. |
// Returns NULL if no interceptor intervenes. |
- URLRequestJob* MaybeInterceptResponse(URLRequest* request) const; |
+ URLRequestJob* MaybeInterceptResponse( |
+ URLRequest* request, NetworkDelegate* network_delegate) const; |
// Returns true if there is a protocol factory registered for the given |
// scheme. Note: also returns true if there is a built-in handler for the |