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

Unified Diff: net/url_request/url_fetcher.h

Issue 268703003: Remove Referrer Policy from URLFetcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove set_referrer_policy 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/test_url_fetcher_factory.cc ('k') | net/url_request/url_fetcher_core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher.h
diff --git a/net/url_request/url_fetcher.h b/net/url_request/url_fetcher.h
index a83181953ea4e1bae253cae50c6aeb2c4e92b94f..80ff3297d6c6d939afb4d240dfe1697a6275ebe2 100644
--- a/net/url_request/url_fetcher.h
+++ b/net/url_request/url_fetcher.h
@@ -171,11 +171,6 @@ 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.
« no previous file with comments | « net/url_request/test_url_fetcher_factory.cc ('k') | net/url_request/url_fetcher_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698