void deleteAllCookies(const NetworkStorageSession& session) { ASSERT_UNUSED(session, !session.context()); // Not yet implemented for cookie jars other than the shared one. SharedCookieJarQt* jar = SharedCookieJarQt::shared(); if (jar) jar->deleteAllCookies(); }
void deleteCookiesForHostname(const NetworkStorageSession& session, const String& hostname) { ASSERT_UNUSED(session, !session.context()); // Not yet implemented for cookie jars other than the shared one. SharedCookieJarQt* jar = SharedCookieJarQt::shared(); if (jar) jar->deleteCookiesForHostname(hostname); }
void getHostnamesWithCookies(const NetworkStorageSession& session, HashSet<String>& hostnames) { ASSERT_UNUSED(session, !session.context()); // Not yet implemented for cookie jars other than the shared one. SharedCookieJarQt* jar = SharedCookieJarQt::shared(); if (jar) jar->getHostnamesWithCookies(hostnames); }
void deleteAllCookies() { SharedCookieJarQt* jar = SharedCookieJarQt::shared(); if (jar) jar->deleteAllCookies(); }
void deleteCookiesForHostname(const String& hostname) { SharedCookieJarQt* jar = SharedCookieJarQt::shared(); if (jar) jar->deleteCookiesForHostname(hostname); }
void getHostnamesWithCookies(HashSet<String>& hostnames) { SharedCookieJarQt* jar = SharedCookieJarQt::shared(); if (jar) jar->getHostnamesWithCookies(hostnames); }