Index: net/url_request/url_request.h |
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h |
index 41410703af7ee903e588d502d1284dcb7680e667..157cc76446d79e88a2e1c9a75c30ef8fa849f595 100644 |
--- a/net/url_request/url_request.h |
+++ b/net/url_request/url_request.h |
@@ -105,6 +105,11 @@ class NET_EXPORT URLRequest : public base::SupportsUserData { |
// Strip the referrer down to the origin regardless of the redirect |
// location. |
ORIGIN, |
+ // Clear the referrer on cross-origin redirect locations. |
+ CLEAR_REFERRER_ON_TRANSITION_CROSS_ORIGIN, |
+ // Strip the referrer down to the origin, but clear it entirely if the |
+ // protocol changes from HTTPS to HTTP. |
+ ORIGIN_CLEAR_ON_TRANSITION_FROM_SECURE_TO_INSECURE, |
// Always clear the referrer regardless of the redirect location. |
NO_REFERRER, |
MAX_REFERRER_POLICY |