#include "content/web_test/browser/web_test_cookie_manager.h"
#include "content/public/browser/storage_partition.h"
#include "net/cookies/canonical_cookie.h"
#include "services/network/public/mojom/cookie_manager.mojom.h"
#include "url/gurl.h"
namespace content {
WebTestCookieManager::WebTestCookieManager(
network::mojom::CookieManager* const cookie_manager,
const GURL& url)
: … { … }
void WebTestCookieManager::DeleteAllCookies(
blink::test::mojom::CookieManagerAutomation::DeleteAllCookiesCallback
callback) { … }
void WebTestCookieManager::GetAllCookies(
blink::test::mojom::CookieManagerAutomation::GetAllCookiesCallback
callback) { … }
void WebTestCookieManager::GetNamedCookie(
const std::string& name,
blink::test::mojom::CookieManagerAutomation::GetNamedCookieCallback
callback) { … }
}