summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-05 15:11:58 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-05 15:11:58 +0000
commitbce1f1c2b86044531ebcfcb7fca44d4171cb8782 (patch)
tree18bebfaf3f2d5f1bdba9e0471901f0c423a1fbac /chrome/browser/sync
parent6159cc3aca4a45ee057b944a28c936c064efcd2c (diff)
downloadchromium_src-bce1f1c2b86044531ebcfcb7fca44d4171cb8782.zip
chromium_src-bce1f1c2b86044531ebcfcb7fca44d4171cb8782.tar.gz
chromium_src-bce1f1c2b86044531ebcfcb7fca44d4171cb8782.tar.bz2
Replace the GURL referrer field of OpenURLParams with a content::Referrer
BUG=105028 TEST=none (no functional change) TBR=zea@chromium.org Review URL: http://codereview.chromium.org/8784006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112978 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r--chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc b/chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc
index 74e0a9d..7e808b3 100644
--- a/chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc
+++ b/chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc
@@ -62,7 +62,10 @@ void SessionsSyncPerfTest::UpdateTabs(int profile) {
browser->SelectNumberedTab(i);
url = NextURL();
browser->OpenURL(
- OpenURLParams(url, GURL("http://localhost"), CURRENT_TAB,
+ OpenURLParams(url,
+ content::Referrer(GURL("http://localhost"),
+ WebKit::WebReferrerPolicyDefault),
+ CURRENT_TAB,
content::PageTransitionFromInt(0), false));
urls.push_back(url);
}