Chromium Code Reviews| Index: net/cookies/cookie_monster.cc |
| diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc |
| index b656d83e6c078a0594dfd3c0f76d87ca0ea78488..594f380b610dff12a2ab376925841097d97ea0c4 100644 |
| --- a/net/cookies/cookie_monster.cc |
| +++ b/net/cookies/cookie_monster.cc |
| @@ -274,7 +274,7 @@ typedef struct ChangeCausePair_struct { |
| } ChangeCausePair; |
| const ChangeCausePair kChangeCauseMapping[] = { |
| // DELETE_COOKIE_EXPLICIT |
| - {CookieStore::ChangeCause::EXPLICIT, true}, |
| + {CookieStore::ChangeCause::EXPLICIT1, true}, |
| // DELETE_COOKIE_OVERWRITE |
| {CookieStore::ChangeCause::OVERWRITE, true}, |
| // DELETE_COOKIE_EXPIRED |
| @@ -282,9 +282,9 @@ const ChangeCausePair kChangeCauseMapping[] = { |
| // DELETE_COOKIE_EVICTED |
| {CookieStore::ChangeCause::EVICTED, true}, |
| // DELETE_COOKIE_DUPLICATE_IN_BACKING_STORE |
| - {CookieStore::ChangeCause::EXPLICIT, false}, |
| + {CookieStore::ChangeCause::EXPLICIT2, false}, |
|
Mike West
2016/12/22 07:31:09
Why not name them to match the cause in CookieMons
nharper
2016/12/23 01:42:55
Done.
|
| // DELETE_COOKIE_DONT_RECORD |
| - {CookieStore::ChangeCause::EXPLICIT, false}, |
| + {CookieStore::ChangeCause::EXPLICIT3, false}, |
| // DELETE_COOKIE_EVICTED_DOMAIN |
| {CookieStore::ChangeCause::EVICTED, true}, |
| // DELETE_COOKIE_EVICTED_GLOBAL |
| @@ -300,7 +300,7 @@ const ChangeCausePair kChangeCauseMapping[] = { |
| // DELETE_COOKIE_NON_SECURE |
| {CookieStore::ChangeCause::EVICTED, true}, |
| // DELETE_COOKIE_LAST_ENTRY |
| - {CookieStore::ChangeCause::EXPLICIT, false}}; |
| + {CookieStore::ChangeCause::EXPLICIT4, false}}; |
| void RunAsync(scoped_refptr<base::TaskRunner> proxy, |
| const CookieStore::CookieChangedCallback& callback, |