| // 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. |
| |
| #ifndef CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
| #define CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
| |
| #include "build/build_config.h" |
| |
| // This is a list of global descriptor keys to be used with the |
| // base::GlobalDescriptors object (see base/posix/global_descriptors.h) |
| enum { |
| kCrashDumpSignal, |
| kSandboxIPCChannel, // https://chromium.googlesource.com/chromium/src/+/main/docs/linux/sandbox_ipc.md |
| kMojoIPCChannel, |
| kFieldTrialDescriptor, |
| |
| #if BUILDFLAG(IS_ANDROID) |
| kAndroidPropertyDescriptor, |
| #endif |
| |
| kHistogramSharedMemoryDescriptor, |
| |
| // Reserves 100 to 199 for dynamically generated IDs. |
| kContentDynamicDescriptorStart = 100, |
| kContentDynamicDescriptorMax = 199, |
| |
| // The first key that embedders can use to register descriptors (see |
| // base/posix/global_descriptors.h). |
| kContentIPCDescriptorMax |
| }; |
| |
| #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |