Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: net/url_request/url_request_job.h

Issue 2918313002: Implement new referrer policies (Closed)
Patch Set: update public/platform/OWNERS per presubmit Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698