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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 10377118: Send the correct referrer and policy when saving a file via PPAPI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 934ad7a50463b22c8b8c717ebe9aae80efcf21e2..af1bc9785df455c7827e7a9b6764d652ed221ca5 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -449,7 +449,7 @@ class CONTENT_EXPORT WebContentsImpl
void OnUpdateZoomLimits(int minimum_percent,
int maximum_percent,
bool remember);
- void OnSaveURL(const GURL& url);
+ void OnSaveURL(const GURL& url, const content::Referrer& referrer);
void OnEnumerateDirectory(int request_id, const FilePath& path);
void OnJSOutOfMemory();
@@ -546,7 +546,9 @@ class CONTENT_EXPORT WebContentsImpl
void SetEncoding(const std::string& encoding);
// Save a URL to the local filesystem.
- void SaveURL(const GURL& url, const GURL& referrer, bool is_main_frame);
+ void SaveURL(const GURL& url,
+ const content::Referrer& referrer,
+ bool is_main_frame);
content::RenderViewHostImpl* GetRenderViewHostImpl();
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | content/browser/web_contents/web_contents_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698