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..c576ac0fec4b1cef7f2fd4ea8b8483dc8d9895d8 100644 |
--- a/net/url_request/url_request_job.h |
+++ b/net/url_request/url_request_job.h |
@@ -328,6 +328,10 @@ 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 +383,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. |