| Index: net/cookies/cookie_store.h
|
| diff --git a/net/cookies/cookie_store.h b/net/cookies/cookie_store.h
|
| index a2be2550dd7fda7e4e3f4d3d6a028f253230fb30..931b2ea1e4f0ac63296932f1c63e7c7ff6303fe5 100644
|
| --- a/net/cookies/cookie_store.h
|
| +++ b/net/cookies/cookie_store.h
|
| @@ -127,6 +127,18 @@ class NET_EXPORT CookieStore {
|
| CookiePriority priority,
|
| const SetCookiesCallback& callback) = 0;
|
|
|
| + // TODO(rdsmith): Remove SetCookieWithDetailsAsync in favor of this.
|
| + // Set the cookie on the cookie store. |cookie.IsCanonical()| must
|
| + // be true. |secure_source| indicates if the source of the setting
|
| + // may be considered secure (if from a URL, the scheme is
|
| + // cryptographic), and |modify_http_only| indicates if the source of
|
| + // the setting may modify http_only cookies. The current time will
|
| + // be used in place of a null creation time.
|
| + virtual void SetCanonicalCookieAsync(std::unique_ptr<CanonicalCookie> cookie,
|
| + bool secure_source,
|
| + bool modify_http_only,
|
| + const SetCookiesCallback& callback) = 0;
|
| +
|
| // TODO(???): what if the total size of all the cookies >4k, can we have a
|
| // header that big or do we need multiple Cookie: headers?
|
| // Note: Some sites, such as Facebook, occasionally use Cookie headers >4k.
|
|
|