#include "chrome/browser/sessions/session_data_service.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "chrome/browser/defaults.h"
#include "chrome/browser/lifetime/browser_shutdown.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sessions/exit_type_service.h"
#include "chrome/browser/sessions/session_data_deleter.h"
#include "chrome/browser/sessions/sessions_features.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "storage/browser/quota/special_storage_policy.h"
namespace {
extern const char kSessionDataStatusPref[] = …;
}
void SessionDataService::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) { … }
SessionDataService::SessionDataService(
Profile* profile,
std::unique_ptr<SessionDataDeleter> deleter)
: … { … }
SessionDataService::~SessionDataService() { … }
void SessionDataService::MaybeContinueDeletionFromLastSesssion(
Status last_status) { … }
void SessionDataService::OnCleanupAtStartupFinished() { … }
void SessionDataService::SetStatusPref(Status status) { … }
void SessionDataService::OnBrowserAdded(Browser* browser) { … }
void SessionDataService::OnBrowserRemoved(Browser* browser) { … }
void SessionDataService::StartCleanup() { … }
void SessionDataService::StartCleanupInternal(bool skip_session_cookies) { … }
void SessionDataService::OnCleanupAtSessionEndFinished() { … }
void SessionDataService::SetForceKeepSessionState() { … }