#include "chrome/browser/sessions/exit_type_service_factory.h"
#include "base/no_destructor.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sessions/exit_type_service.h"
#include "chrome/common/buildflags.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ash/profiles/profile_helper.h"
#endif
ExitTypeService* ExitTypeServiceFactory::GetForProfile(Profile* profile) { … }
ExitTypeServiceFactory* ExitTypeServiceFactory::GetInstance() { … }
ExitTypeServiceFactory::ExitTypeServiceFactory()
: … { … }
ExitTypeServiceFactory::~ExitTypeServiceFactory() = default;
std::unique_ptr<KeyedService>
ExitTypeServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
bool ExitTypeServiceFactory::ServiceIsCreatedWithBrowserContext() const { … }