#include "net/cookies/cookie_store_test_callbacks.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "net/cookies/cookie_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
CookieCallback::CookieCallback(base::Thread* run_in_thread)
: … { … }
CookieCallback::CookieCallback()
: … { … }
CookieCallback::~CookieCallback() = default;
void CookieCallback::ValidateThread() const { … }
void CookieCallback::CallbackEpilogue() { … }
void CookieCallback::WaitUntilDone() { … }
bool CookieCallback::was_run() const { … }
NoResultCookieCallback::NoResultCookieCallback() = default;
NoResultCookieCallback::NoResultCookieCallback(base::Thread* run_in_thread)
: … { … }
GetCookieListCallback::GetCookieListCallback() = default;
GetCookieListCallback::GetCookieListCallback(base::Thread* run_in_thread)
: … { … }
GetCookieListCallback::~GetCookieListCallback() = default;
void GetCookieListCallback::Run(
const CookieAccessResultList& cookies,
const CookieAccessResultList& excluded_cookies) { … }
GetAllCookiesCallback::GetAllCookiesCallback() = default;
GetAllCookiesCallback::GetAllCookiesCallback(base::Thread* run_in_thread)
: … { … }
GetAllCookiesCallback::~GetAllCookiesCallback() = default;
void GetAllCookiesCallback::Run(const CookieList& cookies) { … }
GetAllCookiesWithAccessSemanticsCallback::
GetAllCookiesWithAccessSemanticsCallback() = default;
GetAllCookiesWithAccessSemanticsCallback::
GetAllCookiesWithAccessSemanticsCallback(base::Thread* run_in_thread)
: … { … }
GetAllCookiesWithAccessSemanticsCallback::
~GetAllCookiesWithAccessSemanticsCallback() = default;
void GetAllCookiesWithAccessSemanticsCallback::Run(
const CookieList& cookies,
const std::vector<CookieAccessSemantics>& access_semantics_list) { … }
}