| Index: net/url_request/url_request.h
|
| diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
|
| index 1ccc33966977f3e3bd0e3c4e0e22d6c5e96099b4..413017d0175064e858360397ae99b01f60f9d801 100644
|
| --- a/net/url_request/url_request.h
|
| +++ b/net/url_request/url_request.h
|
| @@ -119,6 +119,7 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
|
| // factories to be queried. If no factory handles the request, then the
|
| // default job will be used.
|
| typedef URLRequestJob* (ProtocolFactory)(URLRequest* request,
|
| + NetworkDelegate* network_delegate,
|
| const std::string& scheme);
|
|
|
| // HTTP request/response header IDs (via some preprocessor fun) for use with
|
| @@ -153,7 +154,8 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
|
| // Called for every request made. Should return a new job to handle the
|
| // request if it should be intercepted, or NULL to allow the request to
|
| // be handled in the normal manner.
|
| - virtual URLRequestJob* MaybeIntercept(URLRequest* request) = 0;
|
| + virtual URLRequestJob* MaybeIntercept(
|
| + URLRequest* request, NetworkDelegate* network_delegate) = 0;
|
|
|
| // Called after having received a redirect response, but prior to the
|
| // the request delegate being informed of the redirect. Can return a new
|
|
|