chromium/content/public/app/content_main_delegate.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 "content/public/app/content_main_delegate.h"

#include "base/check.h"
#include "build/build_config.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
#include "content/public/gpu/content_gpu_client.h"
#include "content/public/renderer/content_renderer_client.h"
#include "content/public/utility/content_utility_client.h"

#if BUILDFLAG(IS_CHROMEOS_LACROS)
#include "sandbox/policy/switches.h"
#include "ui/gl/gl_switches.h"
#endif

namespace content {

std::optional<int> ContentMainDelegate::BasicStartupComplete() {}

absl::variant<int, MainFunctionParams> ContentMainDelegate::RunProcess(
    const std::string& process_type,
    MainFunctionParams main_function_params) {}

#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)

void ContentMainDelegate::ZygoteStarting(
    std::vector<std::unique_ptr<ZygoteForkDelegate>>* delegates) {}

#endif  // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)

int ContentMainDelegate::TerminateForFatalInitializationError() {}

#if BUILDFLAG(IS_WIN)
bool ContentMainDelegate::ShouldHandleConsoleControlEvents() {
  return false;
}
#endif

bool ContentMainDelegate::ShouldLockSchemeRegistry() {}

std::optional<int> ContentMainDelegate::PreBrowserMain() {}

bool ContentMainDelegate::ShouldCreateFeatureList(InvokedIn invoked_in) {}

bool ContentMainDelegate::ShouldInitializeMojo(InvokedIn invoked_in) {}

variations::VariationsIdsProvider*
ContentMainDelegate::CreateVariationsIdsProvider() {}

void ContentMainDelegate::CreateThreadPool(std::string_view name) {}

std::optional<int> ContentMainDelegate::PostEarlyInitialization(
    InvokedIn invoked_in) {}

ContentClient* ContentMainDelegate::CreateContentClient() {}

ContentBrowserClient* ContentMainDelegate::CreateContentBrowserClient() {}

ContentGpuClient* ContentMainDelegate::CreateContentGpuClient() {}

ContentRendererClient* ContentMainDelegate::CreateContentRendererClient() {}

ContentUtilityClient* ContentMainDelegate::CreateContentUtilityClient() {}

}  // namespace content