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

Unified Diff: content/renderer/render_view_impl.h

Issue 8774050: Pass along the referrer policy (renderer side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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
« no previous file with comments | « content/public/common/referrer.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index f0474906312da101bc9bc8195913ad6c07990be1..0c1d8cad62fc42a279efc8c45bec9ccf2224632a 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -27,6 +27,7 @@
#include "content/common/edit_command.h"
#include "content/common/navigation_gesture.h"
#include "content/public/common/page_zoom.h"
+#include "content/public/common/referrer.h"
#include "content/public/common/renderer_preferences.h"
#include "content/public/common/stop_find_action.h"
#include "content/public/renderer/render_view.h"
@@ -714,7 +715,7 @@ class RenderViewImpl : public RenderWidget,
void OpenURL(WebKit::WebFrame* frame,
const GURL& url,
- const GURL& referrer,
+ const content::Referrer& referrer,
WebKit::WebNavigationPolicy policy);
bool RunJavaScriptMessage(int type,
@@ -1003,7 +1004,7 @@ class RenderViewImpl : public RenderWidget,
// of the page that initiated it. Specifically, when a load is committed this
// is used to determine if that load originated from a client-side redirect.
// It is empty if there is no top-level client-side redirect.
- GURL completed_client_redirect_src_;
+ content::Referrer completed_client_redirect_src_;
// Holds state pertaining to a navigation that we initiated. This is held by
// the WebDataSource::ExtraData attribute. We use pending_navigation_state_
« no previous file with comments | « content/public/common/referrer.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698