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

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

Issue 8785004: Change NavigationController::LoadURL to take a Referrer class instead of a GURL as 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/navigation_controller.h
diff --git a/content/browser/tab_contents/navigation_controller.h b/content/browser/tab_contents/navigation_controller.h
index 1e8096df6ea1d0b6b7679191ed768ce9863e0291..3bc64fd9b47837c1d9342a735f0fc7ee2f3d6ae8 100644
--- a/content/browser/tab_contents/navigation_controller.h
+++ b/content/browser/tab_contents/navigation_controller.h
@@ -19,6 +19,7 @@
#include "content/common/content_export.h"
#include "content/public/browser/navigation_type.h"
#include "content/public/common/page_transition_types.h"
+#include "content/public/common/referrer.h"
class NavigationEntry;
class SessionStorageNamespace;
@@ -177,14 +178,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);
« no previous file with comments | « content/browser/renderer_host/render_view_host_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