Chromium Code Reviews| Index: net/cookies/parsed_cookie.h |
| diff --git a/net/cookies/parsed_cookie.h b/net/cookies/parsed_cookie.h |
| index bce984c512aa652211ce86a8e6cb3a9d33f33e3b..190db7d885169c69042ea4770c0c802e21fe1fe3 100644 |
| --- a/net/cookies/parsed_cookie.h |
| +++ b/net/cookies/parsed_cookie.h |
| @@ -50,7 +50,8 @@ class NET_EXPORT ParsedCookie { |
| const std::string& MaxAge() const { return pairs_[maxage_index_].second; } |
| bool IsSecure() const { return secure_index_ != 0; } |
| bool IsHttpOnly() const { return httponly_index_ != 0; } |
| - bool IsSameSite() const { return same_site_index_ != 0; } |
| + bool HasSameSite() const { return same_site_index_ != 0; } |
|
mmenke
2016/03/11 18:09:07
Also, is this needed?
Mike West
2016/03/14 10:18:54
Not anymore. Removed.
|
| + CookieSameSite SameSite() const; |
| CookiePriority Priority() const; |
| // Returns the number of attributes, for example, returning 2 for: |
| @@ -70,7 +71,7 @@ class NET_EXPORT ParsedCookie { |
| bool SetMaxAge(const std::string& maxage); |
| bool SetIsSecure(bool is_secure); |
| bool SetIsHttpOnly(bool is_http_only); |
| - bool SetIsSameSite(bool is_same_site); |
| + bool SetSameSite(const std::string& same_site); |
| bool SetPriority(const std::string& priority); |
| // Returns the cookie description as it appears in a HTML response header. |