| Index: net/cookies/cookie_monster.h
|
| diff --git a/net/cookies/cookie_monster.h b/net/cookies/cookie_monster.h
|
| index b31ac6d4b6fab663ea60ddd0b2b17ba3a651c3b1..e28f6655e8f260e67b405cff223c6645b04ebf93 100644
|
| --- a/net/cookies/cookie_monster.h
|
| +++ b/net/cookies/cookie_monster.h
|
| @@ -549,6 +549,8 @@ class NET_EXPORT CookieMonster : public CookieStore {
|
| // Helper for GarbageCollect(). Deletes up to |purge_goal| cookies with a
|
| // priority less than or equal to |priority| from |cookies|, while ensuring
|
| // that at least the |to_protect| most-recent cookies are retained.
|
| + // |protected_secure_cookies| specifies whether or not secure cookies should
|
| + // be protected from deletion.
|
| //
|
| // |cookies| must be sorted from least-recent to most-recent.
|
| //
|
| @@ -556,7 +558,8 @@ class NET_EXPORT CookieMonster : public CookieStore {
|
| size_t PurgeLeastRecentMatches(CookieItVector* cookies,
|
| CookiePriority priority,
|
| size_t to_protect,
|
| - size_t purge_goal);
|
| + size_t purge_goal,
|
| + bool protect_secure_cookies);
|
|
|
| // Helper for GarbageCollect(); can be called directly as well. Deletes all
|
| // expired cookies in |itpair|. If |cookie_its| is non-NULL, all the
|
|
|