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

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 265253002: Revert of Remove Referrer Policy from URLFetcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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_fetcher_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_impl.cc
diff --git a/net/url_request/url_fetcher_impl.cc b/net/url_request/url_fetcher_impl.cc
index 200fbfc044b42b044092563bb050524fe57bed1d..fc44551c475047ef90ba17233ed94ce16b19d8ef 100644
--- a/net/url_request/url_fetcher_impl.cc
+++ b/net/url_request/url_fetcher_impl.cc
@@ -57,6 +57,11 @@
core_->SetReferrer(referrer);
}
+void URLFetcherImpl::SetReferrerPolicy(
+ URLRequest::ReferrerPolicy referrer_policy) {
+ core_->SetReferrerPolicy(referrer_policy);
+}
+
void URLFetcherImpl::SetLoadFlags(int load_flags) {
core_->SetLoadFlags(load_flags);
}
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698