summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_fetcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/url_fetcher.h')
-rw-r--r--net/url_request/url_fetcher.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/url_request/url_fetcher.h b/net/url_request/url_fetcher.h
index da94e34..a841ddd 100644
--- a/net/url_request/url_fetcher.h
+++ b/net/url_request/url_fetcher.h
@@ -171,6 +171,11 @@ class NET_EXPORT URLFetcher {
// started.
virtual void SetReferrer(const std::string& referrer) = 0;
+ // The referrer policy to apply when updating the referrer during redirects.
+ // The referrer policy may only be changed before Start() is called.
+ virtual void SetReferrerPolicy(
+ URLRequest::ReferrerPolicy referrer_policy) = 0;
+
// Set extra headers on the request. Must be called before the request
// is started.
// This replaces the entire extra request headers.