#include "components/browsing_data/content/cookie_helper.h"
#include <memory>
#include <utility>
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/cookie_access_details.h"
#include "content/public/browser/storage_partition.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "net/cookies/cookie_util.h"
#include "net/cookies/parsed_cookie.h"
#include "services/network/public/mojom/cookie_manager.mojom.h"
#include "url/gurl.h"
BrowserThread;
namespace browsing_data {
CookieHelper::CookieHelper(content::StoragePartition* storage_partition,
IsDeletionDisabledCallback callback)
: … { … }
CookieHelper::~CookieHelper() { … }
void CookieHelper::StartFetching(FetchCallback callback) { … }
void CookieHelper::DeleteCookie(const net::CanonicalCookie& cookie) { … }
CannedCookieHelper::CannedCookieHelper(
content::StoragePartition* storage_partition,
IsDeletionDisabledCallback callback)
: … { … }
CannedCookieHelper::~CannedCookieHelper() { … }
void CannedCookieHelper::AddCookies(
const content::CookieAccessDetails& details) { … }
void CannedCookieHelper::Reset() { … }
bool CannedCookieHelper::empty() const { … }
size_t CannedCookieHelper::GetCookieCount() const { … }
void CannedCookieHelper::StartFetching(FetchCallback callback) { … }
void CannedCookieHelper::DeleteCookie(const net::CanonicalCookie& cookie) { … }
net::CookieList CannedCookieHelper::GetCookieList() { … }
}