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

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

Issue 8806011: Make NavigationEntry and friends use content::Referrer instead of plain URLs (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/browser/site_instance_unittest.cc ('k') | content/browser/tab_contents/navigation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/navigation_controller.h
diff --git a/content/browser/tab_contents/navigation_controller.h b/content/browser/tab_contents/navigation_controller.h
index 710c33ecde153556ccf21b009a3ae256caa16324..a5c5a9c8f1e744eb9d2e482f571fb9556bcc2f0a 100644
--- a/content/browser/tab_contents/navigation_controller.h
+++ b/content/browser/tab_contents/navigation_controller.h
@@ -30,6 +30,7 @@ struct ViewHostMsg_FrameNavigate_Params;
namespace content {
class BrowserContext;
struct LoadCommittedDetails;
+struct Referrer;
}
// A NavigationController maintains the back-forward list for a single tab and
@@ -352,7 +353,7 @@ class CONTENT_EXPORT NavigationController {
// separated by \n.
static NavigationEntry* CreateNavigationEntry(
const GURL& url,
- const GURL& referrer,
+ const content::Referrer& referrer,
content::PageTransition transition,
bool is_renderer_initiated,
const std::string& extra_headers,
« no previous file with comments | « content/browser/site_instance_unittest.cc ('k') | content/browser/tab_contents/navigation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698