Chromium Code Reviews| Index: chrome/browser/extensions/api/cookies/cookies_api.cc |
| diff --git a/chrome/browser/extensions/api/cookies/cookies_api.cc b/chrome/browser/extensions/api/cookies/cookies_api.cc |
| index 16aabadf614b666cc6adf6e721de580570ba7195..9deec298f2ae01155fc0e2f22186c2425b960cce 100644 |
| --- a/chrome/browser/extensions/api/cookies/cookies_api.cc |
| +++ b/chrome/browser/extensions/api/cookies/cookies_api.cc |
| @@ -143,23 +143,25 @@ void CookiesEventRouter::CookieChanged( |
| // Map the internal cause to an external string. |
| std::string cause; |
| switch (details->cause) { |
| - case net::CookieMonsterDelegate::CHANGE_COOKIE_EXPLICIT: |
| + case net::CookieStore::CHANGE_COOKIE_INSERTED: |
| + case net::CookieStore::CHANGE_COOKIE_UNKNOWN_DELETION: |
|
Devlin
2016/09/26 16:46:09
Is it accurate to lump these two in here? e.g. un
nharper
2016/09/26 21:09:10
I agree that UNKNOWN_DELETION doesn't belong here.
Devlin
2016/09/27 15:48:05
I think that all makes sense - unknown deletion wa
nharper
2016/09/27 17:43:48
Done.
|
| + case net::CookieStore::CHANGE_COOKIE_EXPLICIT: |
| cause = keys::kExplicitChangeCause; |
| break; |
| - case net::CookieMonsterDelegate::CHANGE_COOKIE_OVERWRITE: |
| + case net::CookieStore::CHANGE_COOKIE_OVERWRITE: |
| cause = keys::kOverwriteChangeCause; |
| break; |
| - case net::CookieMonsterDelegate::CHANGE_COOKIE_EXPIRED: |
| + case net::CookieStore::CHANGE_COOKIE_EXPIRED: |
| cause = keys::kExpiredChangeCause; |
| break; |
| - case net::CookieMonsterDelegate::CHANGE_COOKIE_EVICTED: |
| + case net::CookieStore::CHANGE_COOKIE_EVICTED: |
| cause = keys::kEvictedChangeCause; |
| break; |
| - case net::CookieMonsterDelegate::CHANGE_COOKIE_EXPIRED_OVERWRITE: |
| + case net::CookieStore::CHANGE_COOKIE_EXPIRED_OVERWRITE: |
| cause = keys::kExpiredOverwriteChangeCause; |
| break; |