#include "components/browsing_data/content/mock_cookie_helper.h"
#include <memory>
#include <optional>
#include "base/containers/contains.h"
#include "base/functional/callback_helpers.h"
#include "base/time/time.h"
#include "net/cookies/cookie_options.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace browsing_data {
MockCookieHelper::MockCookieHelper(content::StoragePartition* storage_partition)
: … { … }
MockCookieHelper::~MockCookieHelper() { … }
void MockCookieHelper::StartFetching(FetchCallback callback) { … }
void MockCookieHelper::DeleteCookie(const net::CanonicalCookie& cookie) { … }
void MockCookieHelper::AddCookieSamples(
const GURL& url,
const std::string& cookie_line,
std::optional<net::CookiePartitionKey> cookie_partition_key) { … }
void MockCookieHelper::Notify() { … }
void MockCookieHelper::Reset() { … }
bool MockCookieHelper::AllDeleted() { … }
}