| Index: net/cookies/cookie_options.h
|
| diff --git a/net/cookies/cookie_options.h b/net/cookies/cookie_options.h
|
| index d3d7fd056b71a05cc92e322b10d8d8f7d47991a9..9b408861c6e8ee81d7462514a21619a990598fb4 100644
|
| --- a/net/cookies/cookie_options.h
|
| +++ b/net/cookies/cookie_options.h
|
| @@ -35,6 +35,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_; }
|
|
|
| + // TODO(estark): Remove once we decide whether to ship cookie
|
| + // prefixes. https://crbug.com/541511
|
| + void set_enforce_prefixes() { enforce_prefixes_ = true; }
|
| + bool enforce_prefixes() const { return enforce_prefixes_; }
|
| +
|
| // |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 +53,7 @@ class NET_EXPORT CookieOptions {
|
| bool exclude_httponly_;
|
| bool include_first_party_only_;
|
| GURL first_party_url_;
|
| + bool enforce_prefixes_;
|
| base::Time server_time_;
|
| };
|
|
|
|
|