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

Unified Diff: chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc

Issue 8784006: Replace the GURL referrer field of OpenURLParams with a content::Referrer (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/sync/test/integration/performance/sessions_sync_perf_test.cc
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 74e0a9d5f3b9695d8028431281c71013e9b88727..7e808b3024cd40fe219265bf1509ed8158feeace 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);
}

Powered by Google App Engine
This is Rietveld 408576698