blob: 692b8bd3f5a11de30f1b385fc29d5c252000d88c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// Copyright (c) 2012 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 CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_
#define CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_
#include "build/build_config.h"
#include "ipc/ipc_descriptors.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 = kIPCDescriptorMax,
kSandboxIPCChannel, // https://chromium.googlesource.com/chromium/src/+/master/docs/linux_sandbox_ipc.md
#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
#if defined(OS_ANDROID)
kV8NativesDataDescriptor32,
kV8SnapshotDataDescriptor32,
kV8NativesDataDescriptor64,
kV8SnapshotDataDescriptor64,
#else
kV8NativesDataDescriptor,
kV8SnapshotDataDescriptor,
#endif
#endif
#if defined(OS_ANDROID)
kAndroidPropertyDescriptor,
kAndroidICUDataDescriptor,
#endif
// The first key that embedders can use to register descriptors (see
// base/posix/global_descriptors.h).
kContentIPCDescriptorMax
};
#endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_
|