| Index: net/cookies/cookie_options.h
|
| diff --git a/net/cookies/cookie_options.h b/net/cookies/cookie_options.h
|
| index d3d7fd056b71a05cc92e322b10d8d8f7d47991a9..5a01067daf949cb772f52cdecaa6d6427f8e1605 100644
|
| --- a/net/cookies/cookie_options.h
|
| +++ b/net/cookies/cookie_options.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/time/time.h"
|
| #include "net/base/net_export.h"
|
| #include "url/gurl.h"
|
| +#include "url/origin.h"
|
|
|
| namespace net {
|
|
|
| @@ -35,6 +36,11 @@ class NET_EXPORT CookieOptions {
|
| void set_first_party_url(const GURL& url) { first_party_url_ = url; }
|
| GURL first_party_url() const { return first_party_url_; }
|
|
|
| + void set_requestor_origin(const url::Origin& requestor_origin) {
|
| + requestor_origin_ = requestor_origin;
|
| + }
|
| + const url::Origin& requestor_origin() const { return requestor_origin_; }
|
| +
|
| // |server_time| indicates what the server sending us the Cookie thought the
|
| // current time was when the cookie was produced. This is used to adjust for
|
| // clock skew between server and host.
|
| @@ -48,6 +54,7 @@ class NET_EXPORT CookieOptions {
|
| bool exclude_httponly_;
|
| bool include_first_party_only_;
|
| GURL first_party_url_;
|
| + url::Origin requestor_origin_;
|
| base::Time server_time_;
|
| };
|
|
|
|
|