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 55ac9b0159cf200e1f6d0d88c6501b8c5c0a9e21..ef677db499e08d5799bbe58ebf996d8a7e3033b8 100644 |
--- a/content/browser/frame_host/navigation_request_info.h |
+++ b/content/browser/frame_host/navigation_request_info.h |
@@ -13,6 +13,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; |
@@ -24,6 +25,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, |
@@ -37,6 +39,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; |