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 913b879d8ce8354358e2fd4665cc6ca546790ff5..52418e31daab0dbac76560ef72c3ebab0c3bff32 100644 |
--- a/net/url_request/url_request_job.h |
+++ b/net/url_request/url_request_job.h |
@@ -228,11 +228,11 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver { |
// has failed or the response headers have been received. |
virtual void GetConnectionAttempts(ConnectionAttempts* out) const; |
- // Given |policy|, |referrer|, and |redirect_destination|, returns the |
+ // Given |policy|, |referrer|, and |destination|, returns the |
// referrer URL mandated by |request|'s referrer policy. |
- static GURL ComputeReferrerForRedirect(URLRequest::ReferrerPolicy policy, |
- const GURL& original_referrer, |
- const GURL& redirect_destination); |
+ static GURL ComputeReferrerForPolicy(URLRequest::ReferrerPolicy policy, |
+ const GURL& original_referrer, |
+ const GURL& destination); |
protected: |
// Notifies the job that a certificate is requested. |