blob: 64544376a50a2e0a20d94a98b44f0046112cfa04 [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_CHILD_PROCESS_HOST_FLAGS_H_
#define CHROME_COMMON_CHILD_PROCESS_HOST_FLAGS_H_
#include "build/build_config.h"
#include "content/public/common/child_process_host.h"
namespace chrome {
// Flags for Chrome specific child processes to resolve the appropriate process
// via ChromeContentClient::GetChildProcessPath().
enum ChildProcessHostFlags {
#if BUILDFLAG(IS_MAC)
// Starts a child process with the macOS alert style to show notifications as
// alerts instead of banners which are shown by the main app.
kChildProcessHelperAlerts =
content::ChildProcessHost::CHILD_EMBEDDER_FIRST + 1,
#endif // BUILDFLAG(IS_MAC)
};
} // namespace chrome
#endif // CHROME_COMMON_CHILD_PROCESS_HOST_FLAGS_H_