#include "chrome/browser/chrome_browser_main_posix.h"
#include <errno.h>
#include <pthread.h>
#include <signal.h>
#include <stddef.h>
#include <string.h>
#include <sys/resource.h>
#include <string>
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/notreached.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/devtools/chrome_devtools_manager_delegate.h"
#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/lifetime/application_lifetime_desktop.h"
#include "chrome/browser/sessions/session_restore.h"
#include "chrome/browser/shutdown_signal_handlers_posix.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/result_codes.h"
BrowserThread;
namespace {
void SIGCHLDHandler(int signal) { … }
class ExitHandler { … };
void ExitHandler::ExitWhenPossibleOnUIThread(int signal) { … }
ExitHandler::ExitHandler() { … }
ExitHandler::~ExitHandler() { … }
void ExitHandler::OnSessionRestoreDone(Profile* profile, int ) { … }
void ExitHandler::Exit() { … }
}
ChromeBrowserMainPartsPosix::ChromeBrowserMainPartsPosix(
bool is_integration_test,
StartupData* startup_data)
: … { … }
int ChromeBrowserMainPartsPosix::PreEarlyInitialization() { … }
void ChromeBrowserMainPartsPosix::PostCreateMainMessageLoop() { … }
void ChromeBrowserMainPartsPosix::ShowMissingLocaleMessageBox() { … }