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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.h

Issue 10387090: Pass the referrer policy with the referrer for the save package code path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 7 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
Index: content/browser/renderer_host/resource_dispatcher_host_impl.h
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.h b/content/browser/renderer_host/resource_dispatcher_host_impl.h
index abfaee788d77d30384ce6163cbc7f419272cdff9..c306c46dc2c1beb80e5b662930b2da01d869058d 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.h
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.h
@@ -57,6 +57,7 @@ class ResourceDispatcherHostDelegate;
class ResourceRequestInfoImpl;
struct DownloadSaveInfo;
struct GlobalRequestID;
+struct Referrer;
class CONTENT_EXPORT ResourceDispatcherHostImpl
: public ResourceDispatcherHost,
@@ -102,7 +103,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// Initiates a save file from the browser process (as opposed to a resource
// request from the renderer or another child process).
void BeginSaveFile(const GURL& url,
- const GURL& referrer,
+ const content::Referrer& referrer,
int child_id,
int route_id,
ResourceContext* context);

Powered by Google App Engine
This is Rietveld 408576698