Index: net/url_request/url_request_job.h |
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h |
index 2341999ae5493b1e205343963b41d8cbc68549de..b5b4070014409bf3602bb8de206995da16ab5c41 100644 |
--- a/net/url_request/url_request_job.h |
+++ b/net/url_request/url_request_job.h |
@@ -328,6 +328,11 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver { |
// On return, |this| may be deleted. |
void ReadRawDataComplete(int bytes_read); |
+ // Computes a new RedirectInfo based on receiving a redirect response of |
+ // |location| and |http_status_code|. |
+ virtual RedirectInfo ComputeRedirectInfo(const GURL& location, |
+ int http_status_code); |
+ |
// The request that initiated this job. This value will never be nullptr. |
URLRequest* const request_; |
@@ -379,10 +384,6 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver { |
// read since the last invocation. |
virtual void UpdatePacketReadTimes(); |
- // Computes a new RedirectInfo based on receiving a redirect response of |
- // |location| and |http_status_code|. |
- RedirectInfo ComputeRedirectInfo(const GURL& location, int http_status_code); |
- |
// Notify the network delegate that more bytes have been received or sent over |
// the network, if bytes have been received or sent since the previous |
// notification. |