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

Unified Diff: third_party/WebKit/public/platform/WebReferrerPolicy.h

Issue 2918313002: Implement new referrer policies (Closed)
Patch Set: ios fix Created 3 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: third_party/WebKit/public/platform/WebReferrerPolicy.h
diff --git a/third_party/WebKit/public/platform/WebReferrerPolicy.h b/third_party/WebKit/public/platform/WebReferrerPolicy.h
index 1f45f15ad7b93bdab1d9adf61e7dcff437f8e2bf..06c20093e59766ac6adbae57583df1da68673390 100644
--- a/third_party/WebKit/public/platform/WebReferrerPolicy.h
+++ b/third_party/WebKit/public/platform/WebReferrerPolicy.h
@@ -40,6 +40,10 @@ enum WebReferrerPolicy {
kWebReferrerPolicyNever,
kWebReferrerPolicyOrigin,
kWebReferrerPolicyOriginWhenCrossOrigin,
+ kWebReferrerPolicySameOrigin,
jochen (gone - plz use gerrit) 2017/06/06 14:51:27 these should go at the end, as we write the static
estark 2017/06/06 22:41:00 Ah, ok, good to know. Switched the order, and adde
+ kWebReferrerPolicyStrictOrigin,
+ // This policy corresponds to strict-origin-when-cross-origin.
+ // TODO(estark): rename to match the spec.
kWebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin,
kWebReferrerPolicyLast =
kWebReferrerPolicyNoReferrerWhenDowngradeOriginWhenCrossOrigin
« no previous file with comments | « third_party/WebKit/public/platform/ReferrerPolicyEnumTraits.h ('k') | third_party/WebKit/public/platform/referrer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698