Index: public/web/WebSecurityPolicy.h |
diff --git a/public/web/WebSecurityPolicy.h b/public/web/WebSecurityPolicy.h |
index f22998cce4e9a0300d8c1d03a7c723c2f7366c23..147ccfdd16742b19a28e1a58ab3ad18c110dfe60 100644 |
--- a/public/web/WebSecurityPolicy.h |
+++ b/public/web/WebSecurityPolicy.h |
@@ -36,6 +36,7 @@ |
namespace blink { |
+class WebSecurityOrigin; |
class WebString; |
class WebURL; |
@@ -100,6 +101,9 @@ public: |
const WebString& destinationHost, bool allowDestinationSubdomains); |
BLINK_EXPORT static void resetOriginAccessWhitelists(); |
+ // Support for whitelisting origins to treat them as trustworthy. |
+ BLINK_EXPORT static void addOriginTrustworthyWhiteList(const WebSecurityOrigin&); |
+ |
// Returns the referrer modified according to the referrer policy for a |
// navigation to a given URL. If the referrer returned is empty, the |
// referrer header should be omitted. |