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

Unified Diff: third_party/WebKit/Source/platform/weborigin/SecurityPolicy.h

Issue 2278823004: Stop supporting legacy keywords in Referrer-Policy header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jochen comment Created 4 years, 4 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/Source/platform/weborigin/SecurityPolicy.h
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.h b/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.h
index 50282ef215210acaf0d686673ecd9b8b2ffdb482..9467f1e40231a02c6ae259df76977e7320a7e474 100644
--- a/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.h
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.h
@@ -68,6 +68,7 @@ public:
static bool isOriginWhiteListedTrustworthy(const SecurityOrigin&);
static bool referrerPolicyFromString(const String& policy, ReferrerPolicy* result);
+ static bool referrerPolicyFromStringWithLegacyKeywords(const String& policy, ReferrerPolicy* result);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698