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

Unified Diff: chrome/browser/tabs/tab_strip_model_delegate.h

Issue 8800010: Update CreateTabContents to use a content::Referrer instead of a plain URL (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
« no previous file with comments | « chrome/browser/tabs/default_tab_handler.cc ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/tab_strip_model_delegate.h
diff --git a/chrome/browser/tabs/tab_strip_model_delegate.h b/chrome/browser/tabs/tab_strip_model_delegate.h
index 19212315d5ce2b4f088dfeb2e767dace08af4e40..4c8cc7d015144fe7ebd02c577b2caba32e020306 100644
--- a/chrome/browser/tabs/tab_strip_model_delegate.h
+++ b/chrome/browser/tabs/tab_strip_model_delegate.h
@@ -15,6 +15,9 @@ class Profile;
class SiteInstance;
class TabContents;
class TabContentsWrapper;
+namespace content {
+struct Referrer;
+}
namespace gfx {
class Rect;
}
@@ -63,7 +66,7 @@ class TabStripModelDelegate {
// If |instance| is not null, its process is used to render the tab.
virtual TabContentsWrapper* CreateTabContentsForURL(
const GURL& url,
- const GURL& referrer,
+ const content::Referrer& referrer,
Profile* profile,
content::PageTransition transition,
bool defer_load,
« no previous file with comments | « chrome/browser/tabs/default_tab_handler.cc ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698