Index: content/browser/frame_host/navigation_request_info.h |
diff --git a/content/browser/frame_host/navigation_request_info.h b/content/browser/frame_host/navigation_request_info.h |
index fc10074e04bd57b9466bbd38976463b504c59c7a..fa21d032f31a067828789eb87d92bfcbc01dd05b 100644 |
--- a/content/browser/frame_host/navigation_request_info.h |
+++ b/content/browser/frame_host/navigation_request_info.h |
@@ -14,6 +14,7 @@ |
#include "content/common/resource_request_body.h" |
#include "content/public/common/referrer.h" |
#include "url/gurl.h" |
+#include "url/origin.h" |
namespace content { |
class ResourceRequestBody; |
@@ -25,6 +26,7 @@ struct CONTENT_EXPORT NavigationRequestInfo { |
NavigationRequestInfo(const CommonNavigationParams& common_params, |
const BeginNavigationParams& begin_params, |
const GURL& first_party_for_cookies, |
+ const url::Origin& request_initiator, |
bool is_main_frame, |
bool parent_is_main_frame, |
int frame_tree_node_id, |
@@ -38,6 +40,9 @@ struct CONTENT_EXPORT NavigationRequestInfo { |
// checked by the third-party cookie blocking policy. |
const GURL first_party_for_cookies; |
+ // The origin of the context which initiated the request. |
+ const url::Origin request_initiator; |
+ |
const bool is_main_frame; |
const bool parent_is_main_frame; |