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

Unified Diff: net/cookies/cookie_store.cc

Issue 2349823003: Pass a RemovalCause to CookieChangedCallback (Closed)
Patch Set: rebase Created 4 years, 3 months 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 | « net/cookies/cookie_store.h ('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.cc
diff --git a/net/cookies/cookie_store.cc b/net/cookies/cookie_store.cc
index 1f1b7b96460b8e7410e6940123bdb66d1fa7d342..20f2dad64f8722bcabd45e252f01c3b90bd8bd9b 100644
--- a/net/cookies/cookie_store.cc
+++ b/net/cookies/cookie_store.cc
@@ -12,6 +12,10 @@ namespace net {
CookieStore::~CookieStore() {}
+bool CookieStore::ChangeCauseIsDeletion(CookieStore::ChangeCause cause) {
+ return cause != CookieStore::ChangeCause::INSERTED;
+}
+
std::string CookieStore::BuildCookieLine(
const std::vector<CanonicalCookie>& cookies) {
std::string cookie_line;
« no previous file with comments | « net/cookies/cookie_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698