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

Unified Diff: chrome/browser/history/history_tab_helper.cc

Issue 8774050: Pass along the referrer policy (renderer side) (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: chrome/browser/history/history_tab_helper.cc
diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/history/history_tab_helper.cc
index ee04f6cf17e7b06ed923d83ff09734d2a98d0c05..8564749f464569747d06e9604ab3cd39f8cd4803 100644
--- a/chrome/browser/history/history_tab_helper.cc
+++ b/chrome/browser/history/history_tab_helper.cc
@@ -50,7 +50,7 @@ HistoryTabHelper::CreateHistoryAddPageArgs(
scoped_refptr<history::HistoryAddPageArgs> add_page_args(
new history::HistoryAddPageArgs(
params.url, base::Time::Now(), tab_contents(), params.page_id,
- params.referrer, params.redirects, params.transition,
+ params.referrer.url, params.redirects, params.transition,
history::SOURCE_BROWSED, details.did_replace_entry));
if (content::PageTransitionIsMainFrame(params.transition) &&
virtual_url != params.url) {
« no previous file with comments | « chrome/browser/external_tab_container_win.cc ('k') | chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698