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

Unified Diff: Source/platform/Prerender.cpp

Issue 650023003: Make generateReferrerHeader() return a Referrer instead of a String (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months 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 | « Source/platform/Prerender.h ('k') | Source/platform/exported/WebURLRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/Prerender.cpp
diff --git a/Source/platform/Prerender.cpp b/Source/platform/Prerender.cpp
index 506397b354e443ceb4a9bfafca87d3dad9f1b2bd..a8659ceab87360b99e2e60a35ff179eff3b2c818 100644
--- a/Source/platform/Prerender.cpp
+++ b/Source/platform/Prerender.cpp
@@ -38,17 +38,16 @@
namespace blink {
-PassRefPtr<Prerender> Prerender::create(PrerenderClient* client, const KURL& url, unsigned relTypes, const String& referrer, ReferrerPolicy policy)
+PassRefPtr<Prerender> Prerender::create(PrerenderClient* client, const KURL& url, unsigned relTypes, const Referrer& referrer)
{
- return adoptRef(new Prerender(client, url, relTypes, referrer, policy));
+ return adoptRef(new Prerender(client, url, relTypes, referrer));
}
-Prerender::Prerender(PrerenderClient* client, const KURL& url, const unsigned relTypes, const String& referrer, ReferrerPolicy policy)
+Prerender::Prerender(PrerenderClient* client, const KURL& url, const unsigned relTypes, const Referrer& referrer)
: m_client(client)
, m_url(url)
, m_relTypes(relTypes)
, m_referrer(referrer)
- , m_referrerPolicy(policy)
{
}
« no previous file with comments | « Source/platform/Prerender.h ('k') | Source/platform/exported/WebURLRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698