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 5d99842f32c90d7a77b492b89eaa3f6b869f471a..3328c0ba168d2b3d748d724d89c3d271af6aa7e8 100644 |
--- a/content/browser/tab_contents/navigation_controller.h |
+++ b/content/browser/tab_contents/navigation_controller.h |
@@ -28,6 +28,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 |
@@ -176,14 +177,14 @@ class CONTENT_EXPORT NavigationController { |
// Loads the specified URL, specifying extra http headers to add to the |
// request. Extra headers are separated by \n. |
void LoadURL(const GURL& url, |
- const GURL& referrer, |
+ const content::Referrer& referrer, |
content::PageTransition type, |
const std::string& extra_headers); |
// Same as LoadURL, but for renderer-initiated navigations. This state is |
// important for tracking whether to display pending URLs. |
void LoadURLFromRenderer(const GURL& url, |
- const GURL& referrer, |
+ const content::Referrer& referrer, |
content::PageTransition type, |
const std::string& extra_headers); |
@@ -336,7 +337,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, |