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

Unified Diff: content/shell/browser/shell_url_request_context_getter.h

Issue 2111623003: Reland of Apply Referrer-Policy header when following redirects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initialize |read_handler| 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
Index: content/shell/browser/shell_url_request_context_getter.h
diff --git a/content/shell/browser/shell_url_request_context_getter.h b/content/shell/browser/shell_url_request_context_getter.h
index b6ea149ed075d3e64300c80a510be27733690837..936a1b96210156eba9be1be52f3d139a691b8d8d 100644
--- a/content/shell/browser/shell_url_request_context_getter.h
+++ b/content/shell/browser/shell_url_request_context_getter.h
@@ -59,6 +59,10 @@ class ShellURLRequestContextGetter : public net::URLRequestContextGetter {
virtual std::unique_ptr<net::ProxyConfigService> GetProxyConfigService();
virtual std::unique_ptr<net::ProxyService> GetProxyService();
+ // TODO(estark): Remove this once the Referrer-Policy header is no
+ // longer an experimental feature. https://crbug.com/619228
+ virtual bool ShouldEnableReferrerPolicyHeader();
+
private:
bool ignore_certificate_errors_;
base::FilePath base_path_;

Powered by Google App Engine
This is Rietveld 408576698