#include "content/browser/browsing_data/browsing_data_test_utils.h"
#include <string>
#include <vector>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
#include "net/cookies/cookie_access_result.h"
#include "net/cookies/cookie_util.h"
#include "services/network/public/mojom/cookie_manager.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
network::mojom::CookieManager* GetCookieManager(
BrowserContext* browser_context) { … }
void CreateCookieForTest(
const std::string& cookie_name,
const std::string& cookie_domain,
net::CookieSameSite same_site,
net::CookieOptions::SameSiteCookieContext cookie_context,
bool is_cookie_secure,
BrowserContext* browser_context) { … }
std::vector<net::CanonicalCookie> GetAllCookies(
BrowserContext* browser_context) { … }
}