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

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

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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_entry.h
diff --git a/content/browser/tab_contents/navigation_entry.h b/content/browser/tab_contents/navigation_entry.h
index eea3f350213ba3a1a7d71533dcaca5d2a63b8458..1d0d99d22d953c3c0e0e2c86ae205ceaa033f628 100644
--- a/content/browser/tab_contents/navigation_entry.h
+++ b/content/browser/tab_contents/navigation_entry.h
@@ -13,6 +13,7 @@
#include "content/common/content_export.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/common/page_type.h"
+#include "content/public/common/referrer.h"
#include "content/public/common/security_style.h"
#include "googleurl/src/gurl.h"
#include "net/base/cert_status_flags.h"
@@ -184,7 +185,7 @@ class CONTENT_EXPORT NavigationEntry {
NavigationEntry(SiteInstance* instance,
int page_id,
const GURL& url,
- const GURL& referrer,
+ const content::Referrer& referrer,
const string16& title,
content::PageTransition transition_type,
bool is_renderer_initiated);
@@ -236,10 +237,10 @@ class CONTENT_EXPORT NavigationEntry {
}
// The referring URL. Can be empty.
- void set_referrer(const GURL& referrer) {
+ void set_referrer(const content::Referrer& referrer) {
referrer_ = referrer;
}
- const GURL& referrer() const {
+ const content::Referrer& referrer() const {
return referrer_;
}
@@ -424,7 +425,7 @@ class CONTENT_EXPORT NavigationEntry {
scoped_refptr<SiteInstance> site_instance_;
content::PageType page_type_;
GURL url_;
- GURL referrer_;
+ content::Referrer referrer_;
GURL virtual_url_;
bool update_virtual_url_with_url_;
string16 title_;
« no previous file with comments | « content/browser/tab_contents/navigation_controller_unittest.cc ('k') | content/browser/tab_contents/navigation_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698