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

Unified Diff: net/url_request/url_request_context.h

Issue 2108423002: Revert of Apply Referrer-Policy header when following redirects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 40b2486e68f02f03e0921b1fbd5c2e3e1d5db3a0..5eb2884c9c51c404c4cbba14655757f16d78955c 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -229,14 +229,6 @@
void set_enable_brotli(bool enable_brotli) { enable_brotli_ = enable_brotli; }
bool enable_brotli() const { return enable_brotli_; }
-
- void set_enable_referrer_policy_header(bool enable_referrer_policy_header) {
- enable_referrer_policy_header_ = enable_referrer_policy_header;
- }
-
- bool enable_referrer_policy_header() const {
- return enable_referrer_policy_header_;
- }
private:
// ---------------------------------------------------------------------------
@@ -277,11 +269,6 @@
// Enables Brotli Content-Encoding support.
bool enable_brotli_;
- // Enables parsing and applying the Referrer-Policy header when
- // following redirects. TODO(estark): remove this flag once
- // Referrer-Policy ships (https://crbug.com/619228).
- bool enable_referrer_policy_header_;
-
DISALLOW_COPY_AND_ASSIGN(URLRequestContext);
};
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698