OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
6 #define CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ | 6 #define CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ipc/ipc_descriptors.h" | 9 #include "ipc/ipc_descriptors.h" |
10 | 10 |
11 // This is a list of global descriptor keys to be used with the | 11 // This is a list of global descriptor keys to be used with the |
12 // base::GlobalDescriptors object (see base/posix/global_descriptors.h) | 12 // base::GlobalDescriptors object (see base/posix/global_descriptors.h) |
13 enum { | 13 enum { |
14 kCrashDumpSignal = kIPCDescriptorMax, | 14 kCrashDumpSignal = kIPCDescriptorMax, |
15 kSandboxIPCChannel, // http://code.google.com/p/chromium/LinuxSandboxIPC | 15 kSandboxIPCChannel, // https://chromium.googlesource.com/chromium/src/+/maste
r/docs/linux_sandbox_ipc.md |
16 | 16 |
17 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) | 17 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) |
18 kV8NativesDataDescriptor, | 18 kV8NativesDataDescriptor, |
19 kV8SnapshotDataDescriptor, | 19 kV8SnapshotDataDescriptor, |
20 #endif | 20 #endif |
21 | 21 |
22 #if defined(OS_ANDROID) | 22 #if defined(OS_ANDROID) |
23 kAndroidPropertyDescriptor, | 23 kAndroidPropertyDescriptor, |
24 kAndroidICUDataDescriptor, | 24 kAndroidICUDataDescriptor, |
25 #endif | 25 #endif |
26 | 26 |
27 // The first key that embedders can use to register descriptors (see | 27 // The first key that embedders can use to register descriptors (see |
28 // base/posix/global_descriptors.h). | 28 // base/posix/global_descriptors.h). |
29 kContentIPCDescriptorMax | 29 kContentIPCDescriptorMax |
30 }; | 30 }; |
31 | 31 |
32 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ | 32 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
OLD | NEW |