summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container_win.cc
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-02 17:59:39 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-02 17:59:39 +0000
commita1955adfe729e84c859264fea19fa21e7ffccde6 (patch)
tree004a90b9846a717bfad5f8735d11de2a84188fd6 /chrome/browser/external_tab_container_win.cc
parent506fbb4d51032afeb070fbec394085cb06bb1cb1 (diff)
downloadchromium_src-a1955adfe729e84c859264fea19fa21e7ffccde6.zip
chromium_src-a1955adfe729e84c859264fea19fa21e7ffccde6.tar.gz
chromium_src-a1955adfe729e84c859264fea19fa21e7ffccde6.tar.bz2
Add referrer to the NavigationInfo struct.
TEST=n/a BUG=none Review URL: http://codereview.chromium.org/3036030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container_win.cc')
-rw-r--r--chrome/browser/external_tab_container_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc
index c32da01..1093c45 100644
--- a/chrome/browser/external_tab_container_win.cc
+++ b/chrome/browser/external_tab_container_win.cc
@@ -767,6 +767,7 @@ bool ExternalTabContainer::InitNavigationInfo(IPC::NavigationInfo* nav_info,
nav_info->navigation_index =
tab_contents_->controller().GetCurrentEntryIndex();
nav_info->url = entry->url();
+ nav_info->referrer = entry->referrer();
nav_info->title = UTF16ToWideHack(entry->title());
if (nav_info->title.empty())
nav_info->title = UTF8ToWide(nav_info->url.spec());