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

Unified Diff: net/cookies/cookie_store.h

Issue 2595703002: Expand net::CookieStore::ChangeCause::EXPLICIT for debugging. (Closed)
Patch Set: 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
« net/cookies/cookie_monster.cc ('K') | « net/cookies/cookie_monster_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_store.h
diff --git a/net/cookies/cookie_store.h b/net/cookies/cookie_store.h
index 32bb1350fdf867c2fefc6b498e7a805e56958cef..256003fd4698afbb466eb13e86fb3c671b30dbb2 100644
--- a/net/cookies/cookie_store.h
+++ b/net/cookies/cookie_store.h
@@ -36,7 +36,14 @@ class NET_EXPORT CookieStore {
// The cookie was inserted.
INSERTED,
// The cookie was changed directly by a consumer's action.
- EXPLICIT,
+ // The following enum values all have the same meaning, but are being used
+ // to track down where a bug came from.
+ // TODO(nharper): Remove all but one of these and rename to EXPLICIT once
+ // the one of interest has been found.
+ EXPLICIT1,
+ EXPLICIT2,
+ EXPLICIT3,
+ EXPLICIT4,
// The cookie was deleted, but no more details are known.
UNKNOWN_DELETION,
// The cookie was automatically removed due to an insert operation that
« net/cookies/cookie_monster.cc ('K') | « net/cookies/cookie_monster_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698