#include "content/public/browser/cookie_store_factory.h"
#include <memory>
#include "base/files/file_path.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/ref_counted.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "net/cookies/cookie_constants.h"
#include "net/cookies/cookie_monster.h"
#include "net/extras/sqlite/cookie_crypto_delegate.h"
#include "net/extras/sqlite/sqlite_persistent_cookie_store.h"
namespace content {
CookieStoreConfig::CookieStoreConfig()
: … { … }
CookieStoreConfig::CookieStoreConfig(const base::FilePath& path,
bool restore_old_session_cookies,
bool persist_session_cookies)
: … { … }
CookieStoreConfig::CookieStoreConfig(CookieStoreConfig&&) = default;
CookieStoreConfig::~CookieStoreConfig() { … }
std::unique_ptr<net::CookieStore> CreateCookieStore(CookieStoreConfig config,
net::NetLog* net_log) { … }
}