chromium/chrome/browser/chrome_browser_main_posix.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// See comment in |PreEarlyInitialization()|, where sigaction is called.
void SIGCHLDHandler(int signal) {}

// ExitHandler takes care of servicing an exit (from a signal) at the
// appropriate time. Specifically if we get an exit and have not finished
// session restore we delay the exit. To do otherwise means we're exiting part
// way through startup which causes all sorts of problems.
class ExitHandler {};

// static
void ExitHandler::ExitWhenPossibleOnUIThread(int signal) {}

ExitHandler::ExitHandler() {}

ExitHandler::~ExitHandler() {}

void ExitHandler::OnSessionRestoreDone(Profile* profile, int /* num_tabs */) {}

// static
void ExitHandler::Exit() {}

}  // namespace

// ChromeBrowserMainPartsPosix -------------------------------------------------

ChromeBrowserMainPartsPosix::ChromeBrowserMainPartsPosix(
    bool is_integration_test,
    StartupData* startup_data)
    :{}

int ChromeBrowserMainPartsPosix::PreEarlyInitialization() {}

void ChromeBrowserMainPartsPosix::PostCreateMainMessageLoop() {}

void ChromeBrowserMainPartsPosix::ShowMissingLocaleMessageBox() {}