Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5408)

Unified Diff: chrome/browser/extensions/api/cookies/cookies_api.cc

Issue 2595703002: Expand net::CookieStore::ChangeCause::EXPLICIT for debugging. (Closed)
Patch Set: better names for enum values Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/signin/core/browser/gaia_cookie_manager_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 549dd0e65510b6bd6226e9601c74280cd0071699..3eb2efb08a79b9122dc6bab4edc3617d6bb802d4 100644
--- a/chrome/browser/extensions/api/cookies/cookies_api.cc
+++ b/chrome/browser/extensions/api/cookies/cookies_api.cc
@@ -146,7 +146,10 @@ void CookiesEventRouter::CookieChanged(
// Report an inserted cookie as an "explicit" change cause. All other causes
// only make sense for deletions.
case net::CookieStore::ChangeCause::INSERTED:
- case net::CookieStore::ChangeCause::EXPLICIT:
+ case net::CookieStore::ChangeCause::EXPLICIT_DELETE:
+ case net::CookieStore::ChangeCause::EXPLICIT_DUPLICATE_IN_BACKING_STORE:
+ case net::CookieStore::ChangeCause::EXPLICIT_DONT_RECORD:
+ case net::CookieStore::ChangeCause::EXPLICIT_LAST_ENTRY:
cause = keys::kExplicitChangeCause;
break;
« no previous file with comments | « no previous file | components/signin/core/browser/gaia_cookie_manager_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698