blob: e91e6507c1179fa8c8347234ceadd15a4cd64438 [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2021 The Chromium Authors
Richard Knoll56915522021-03-05 16:07:342// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Will Harriscd57b832023-01-05 20:03:105#ifndef CHROME_BROWSER_CHILD_PROCESS_HOST_FLAGS_H_
6#define CHROME_BROWSER_CHILD_PROCESS_HOST_FLAGS_H_
Richard Knoll56915522021-03-05 16:07:347
8#include "build/build_config.h"
Will Harriscd57b832023-01-05 20:03:109#include "content/public/browser/child_process_host.h"
Richard Knoll56915522021-03-05 16:07:3410
11namespace chrome {
12
13// Flags for Chrome specific child processes to resolve the appropriate process
Marshall Greenblatt46a40552023-04-21 20:23:3614// via ChromeContentBrowserClient::GetChildProcessSuffix().
Richard Knoll56915522021-03-05 16:07:3415enum ChildProcessHostFlags {
Xiaohan Wang4d5c5042022-01-18 21:54:3716#if BUILDFLAG(IS_MAC)
Richard Knoll56915522021-03-05 16:07:3417 // Starts a child process with the macOS alert style to show notifications as
18 // alerts instead of banners which are shown by the main app.
19 kChildProcessHelperAlerts =
20 content::ChildProcessHost::CHILD_EMBEDDER_FIRST + 1,
Xiaohan Wang4d5c5042022-01-18 21:54:3721#endif // BUILDFLAG(IS_MAC)
Richard Knoll56915522021-03-05 16:07:3422};
23
24} // namespace chrome
25
Will Harriscd57b832023-01-05 20:03:1026#endif // CHROME_BROWSER_CHILD_PROCESS_HOST_FLAGS_H_