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

Unified Diff: webkit/glue/dom_operations.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: 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/glue/dom_operations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/dom_operations.h
diff --git a/webkit/glue/dom_operations.h b/webkit/glue/dom_operations.h
index eb99966d228aa2797b11ef800b08e856cb49ec59..e836aa1dac81bbdbfda6f604344a447c1c00041a 100644
--- a/webkit/glue/dom_operations.h
+++ b/webkit/glue/dom_operations.h
@@ -9,6 +9,7 @@
#include <vector>
#include "googleurl/src/gurl.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h"
#include "webkit/glue/webkit_glue_export.h"
namespace WebKit {
@@ -30,16 +31,21 @@ struct SavableResourcesResult {
std::vector<GURL>* resources_list;
// vector which contains corresponding all referral links of sub resource,
// it matched with links one by one.
- std::vector<GURL>* referrers_list;
+ std::vector<GURL>* referrer_urls_list;
+ // and the corresponding referrer policies.
Avi (use Gerrit) 2012/05/11 21:17:33 All the other comments here are // (type) which co
+ std::vector<WebKit::WebReferrerPolicy>* referrer_policies_list;
// vector which contains all savable links of main frame and sub frames.
std::vector<GURL>* frames_list;
// Constructor.
- SavableResourcesResult(std::vector<GURL>* resources_list,
- std::vector<GURL>* referrers_list,
- std::vector<GURL>* frames_list)
+ SavableResourcesResult(
+ std::vector<GURL>* resources_list,
+ std::vector<GURL>* referrer_urls_list,
+ std::vector<WebKit::WebReferrerPolicy>* referrer_policies_list,
+ std::vector<GURL>* frames_list)
: resources_list(resources_list),
- referrers_list(referrers_list),
+ referrer_urls_list(referrer_urls_list),
+ referrer_policies_list(referrer_policies_list),
frames_list(frames_list) { }
private:
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/glue/dom_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698