Index: net/url_request/url_fetcher_core.h |
diff --git a/net/url_request/url_fetcher_core.h b/net/url_request/url_fetcher_core.h |
index b20720e3caf7782a21a772c5771bd9dc728bb105..4a683ab31a15b06efb855139fcfff43d3420e1a4 100644 |
--- a/net/url_request/url_fetcher_core.h |
+++ b/net/url_request/url_fetcher_core.h |
@@ -23,6 +23,7 @@ |
#include "net/url_request/url_request_context_getter_observer.h" |
#include "net/url_request/url_request_status.h" |
#include "url/gurl.h" |
+#include "url/origin.h" |
namespace base { |
class SingleThreadTaskRunner; |
@@ -88,6 +89,7 @@ class URLFetcherCore : public base::RefCountedThreadSafe<URLFetcherCore>, |
// Set the URL that should be consulted for the third-party cookie |
// blocking policy. |
void SetFirstPartyForCookies(const GURL& first_party_for_cookies); |
+ void SetRequestorOrigin(const url::Origin& requestor_origin); |
// Set the key and data callback that is used when setting the user |
// data on any URLRequest objects this object creates. |
void SetURLRequestUserData( |
@@ -238,6 +240,7 @@ class URLFetcherCore : public base::RefCountedThreadSafe<URLFetcherCore>, |
scoped_refptr<URLRequestContextGetter> request_context_getter_; |
// Cookie/cache info for the request |
GURL first_party_for_cookies_; // The first party URL for the request |
+ url::Origin requestor_origin_; // The origin responsible for the request. |
// The user data to add to each newly-created URLRequest. |
const void* url_request_data_key_; |
URLFetcher::CreateDataCallback url_request_create_data_callback_; |