#include "services/network/session_cleanup_cookie_store.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "net/log/net_log_capture_mode.h"
#include "net/log/test_net_log.h"
#include "net/log/test_net_log_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace network {
namespace {
CanonicalCookieVector;
const base::FilePath::CharType kTestCookiesFilename[] = …);
class SessionCleanupCookieStoreTest : public testing::Test { … };
TEST_F(SessionCleanupCookieStoreTest, TestPersistence) { … }
TEST_F(SessionCleanupCookieStoreTest, TestNetLogIncludeCookies) { … }
TEST_F(SessionCleanupCookieStoreTest, TestNetLogDoNotIncludeCookies) { … }
TEST_F(SessionCleanupCookieStoreTest, TestDeleteSessionCookies) { … }
TEST_F(SessionCleanupCookieStoreTest, ForceKeepSessionState) { … }
}
}