Index: public/web/WebSecurityPolicy.h |
diff --git a/public/web/WebSecurityPolicy.h b/public/web/WebSecurityPolicy.h |
index f22998cce4e9a0300d8c1d03a7c723c2f7366c23..9349bd71f800ab8ce7742ec34659adef4a73a52d 100644 |
--- a/public/web/WebSecurityPolicy.h |
+++ b/public/web/WebSecurityPolicy.h |
@@ -100,6 +100,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 WebURL& origin); |
Mike West
2015/04/20 09:25:00
Why not pass in a WebSecurityOrigin?
kinuko
2015/04/20 15:43:18
Done.
|
+ |
// 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. |