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

Unified Diff: content/browser/tab_contents/page_navigator.h

Issue 8784006: Replace the GURL referrer field of OpenURLParams with a content::Referrer (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
Index: content/browser/tab_contents/page_navigator.h
diff --git a/content/browser/tab_contents/page_navigator.h b/content/browser/tab_contents/page_navigator.h
index 98bafd357c363dd042cbf3bc6c15196f2a94c85f..4ec0a3bba597ebe3667fe1ea5ad3524cc447232c 100644
--- a/content/browser/tab_contents/page_navigator.h
+++ b/content/browser/tab_contents/page_navigator.h
@@ -15,6 +15,7 @@
#include "content/browser/renderer_host/global_request_id.h"
#include "content/common/content_export.h"
#include "content/public/common/page_transition_types.h"
+#include "content/public/common/referrer.h"
#include "googleurl/src/gurl.h"
#include "webkit/glue/window_open_disposition.h"
@@ -22,7 +23,7 @@ class TabContents;
struct CONTENT_EXPORT OpenURLParams {
OpenURLParams(const GURL& url,
- const GURL& referrer,
+ const content::Referrer& referrer,
WindowOpenDisposition disposition,
content::PageTransition transition,
bool is_renderer_initiated);
@@ -30,7 +31,7 @@ struct CONTENT_EXPORT OpenURLParams {
// The URL/referrer to be opened.
GURL url;
- GURL referrer;
+ content::Referrer referrer;
// The disposition requested by the navigation source.
WindowOpenDisposition disposition;
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/tab_contents/page_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698