Chromium Code Reviews| 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 c6f7ba4e4bab705cc7cfd9e2b0527cc72363fd4c..b29be801eb38ea5700c39bf710987679f6e89914 100644 |
| --- a/net/url_request/url_request_job.h |
| +++ b/net/url_request/url_request_job.h |
| @@ -157,6 +157,14 @@ class NET_EXPORT URLRequestJob |
| // The default implementation inspects the response_info_. |
| virtual bool IsRedirectResponse(GURL* location, int* http_status_code); |
| + // Called to determine if it is okay to copy the reference fragment from the |
| + // original URL to the redirection target when the redirection target has no |
| + // reference fragment. |
| + // |
| + // The default implementation returns true. |
| + virtual bool IsRedirectFragmentModificationAllowed( |
| + const GURL& location) OVERRIDE; |
|
mmenke
2014/03/31 20:45:49
nit: const
robwu
2014/04/01 16:09:33
Done.
|
| + |
| // Called to determine if it is okay to redirect this job to the specified |
| // location. This may be used to implement protocol-specific restrictions. |
| // If this function returns false, then the URLRequest will fail |