From d5a5034015168b59859cf38f4abdb5332371c283 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Mon, 5 Dec 2011 21:56:52 +0000 Subject: 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 --- content/common/resource_messages.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'content/common/resource_messages.h') 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) -- cgit v1.1