summaryrefslogtreecommitdiffstats
path: root/content/common/resource_messages.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-05 21:56:52 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-05 21:56:52 +0000
commitd5a5034015168b59859cf38f4abdb5332371c283 (patch)
tree3ba73dc900c1553e7fbcfb53603f3158cd687e71 /content/common/resource_messages.h
parent00227f26573092e106e486702f4c61125f467171 (diff)
downloadchromium_src-d5a5034015168b59859cf38f4abdb5332371c283.zip
chromium_src-d5a5034015168b59859cf38f4abdb5332371c283.tar.gz
chromium_src-d5a5034015168b59859cf38f4abdb5332371c283.tar.bz2
Make the transfer request code path use full referrers
BUG=105028 TEST=none Review URL: http://codereview.chromium.org/8801006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/resource_messages.h')
-rw-r--r--content/common/resource_messages.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index 5230206..54abfb6 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -10,6 +10,7 @@
#include "content/public/common/resource_response.h"
#include "ipc/ipc_message_macros.h"
#include "net/base/upload_data.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h"
#define IPC_MESSAGE_START ResourceMsgStart
#undef IPC_MESSAGE_EXPORT
@@ -67,6 +68,9 @@ IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
// The referrer to use (may be empty).
IPC_STRUCT_MEMBER(GURL, referrer)
+ // The referrer policy to use.
+ IPC_STRUCT_MEMBER(WebKit::WebReferrerPolicy, referrer_policy)
+
// Additional HTTP request headers.
IPC_STRUCT_MEMBER(std::string, headers)