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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 2962573002: Move SetReferrerForRequest method from WebFrame to WebLocalFrame. (Closed)
Patch Set: 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/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index cd095cb461d238e6d21f066aa71b34238ad2202e..2c869a0c9c64153add5049f571369f1705bf7e95 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -55,8 +55,6 @@ class WebPerformance;
class WebRemoteFrame;
class WebSecurityOrigin;
class WebString;
-class WebURL;
-class WebURLRequest;
class WebView;
enum class WebSandboxFlags;
struct WebFrameOwnerProperties;
@@ -210,13 +208,6 @@ class BLINK_EXPORT WebFrame {
virtual void EnableViewSourceMode(bool) = 0;
virtual bool IsViewSourceModeEnabled() const = 0;
- // Sets the referrer for the given request to be the specified URL or
- // if that is null, then it sets the referrer to the referrer that the
- // frame would use for subresources. NOTE: This method also filters
- // out invalid referrers (e.g., it is invalid to send a HTTPS URL as
- // the referrer for a HTTP request).
- virtual void SetReferrerForRequest(WebURLRequest&, const WebURL&) = 0;
-
// Returns an AssociatedURLLoader that is associated with this frame. The
// loader will, for example, be cancelled when WebFrame::stopLoading is
// called.
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698