예제 #1
0
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);
}
예제 #5
0
void CookieDatabaseBackingStore::remove(const PassRefPtr<ParsedCookie> cookie)
{
    addToChangeQueue(cookie, Delete);
}
예제 #6
0
void CookieDatabaseBackingStore::insert(const PassRefPtr<ParsedCookie> cookie)
{
    if (!cookie->hasExpired())
        addToChangeQueue(cookie, Insert);
}