void CookieDatabaseBackingStore::update(const PassRefPtr<ParsedCookie> cookie) { if (!cookie->hasExpired()) addToChangeQueue(cookie, Update); else remove(cookie); }
void CookieDatabaseBackingStore::remove(const ParsedCookie* cookie) { CookieLog("CookieBackingStore - adding deleting cookie %s to queue.", cookie->toString().utf8().data()); addToChangeQueue(cookie, Delete); }
void CookieDatabaseBackingStore::insert(const ParsedCookie* cookie) { CookieLog("CookieBackingStore - adding inserting cookie %s to queue.", cookie->toString().utf8().data()); addToChangeQueue(cookie, Insert); }
void CookieDatabaseBackingStore::update(const PassRefPtr<ParsedCookie> cookie) { CookieLog("CookieBackingStore - adding updating cookie %s to queue.", cookie->toString().utf8().data()); addToChangeQueue(cookie, Update); }
void CookieDatabaseBackingStore::remove(const PassRefPtr<ParsedCookie> cookie) { addToChangeQueue(cookie, Delete); }
void CookieDatabaseBackingStore::insert(const PassRefPtr<ParsedCookie> cookie) { if (!cookie->hasExpired()) addToChangeQueue(cookie, Insert); }