Take referrer policy into account when clearing the referrer header
[WebKit-https.git] / Source / WebCore / platform / network / NetworkingContext.h
index 14cd420..61a84b4 100644 (file)
@@ -65,6 +65,8 @@ public:
 
     virtual bool isValid() const { return true; }
 
+    virtual bool shouldClearReferrerOnHTTPSToHTTPRedirect() const = 0;
+
 #if PLATFORM(CHROMIUM)
     // FIXME: Wrap WebCookieJar into a NetworkStorageSession to make the code cross-platform.
     virtual WebKit::WebCookieJar* cookieJar() const = 0;