[M120 Migration]Fix for crash during chrome exit
[platform/framework/web/chromium-efl.git] / chrome / browser / child_process_host_flags.h
1 // Copyright 2021 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHILD_PROCESS_HOST_FLAGS_H_
6 #define CHROME_BROWSER_CHILD_PROCESS_HOST_FLAGS_H_
7
8 #include "build/build_config.h"
9 #include "content/public/browser/child_process_host.h"
10
11 namespace chrome {
12
13 // Flags for Chrome specific child processes to resolve the appropriate process
14 // via ChromeContentBrowserClient::GetChildProcessSuffix().
15 enum ChildProcessHostFlags {
16 #if BUILDFLAG(IS_MAC)
17   // 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,
21 #endif  // BUILDFLAG(IS_MAC)
22 };
23
24 }  // namespace chrome
25
26 #endif  // CHROME_BROWSER_CHILD_PROCESS_HOST_FLAGS_H_