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, // https://chromium.googlesource.com/chromium/src/+/maste r/docs/linux_sandbox_ipc.md | 15 kSandboxIPCChannel, // https://chromium.googlesource.com/chromium/src/+/maste r/docs/linux_sandbox_ipc.md |
16 kMojoIPCChannel, | 16 kMojoIPCChannel, |
17 kFieldTrialHandle, | |
Alexei Svitkine (slow)
2016/11/28 16:56:13
This name is very confusing since it's the same na
lawrencewu
2016/11/29 14:38:07
Done.
| |
17 | 18 |
18 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) | 19 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) |
19 kV8NativesDataDescriptor, | 20 kV8NativesDataDescriptor, |
20 #if defined(OS_ANDROID) | 21 #if defined(OS_ANDROID) |
21 kV8SnapshotDataDescriptor32, | 22 kV8SnapshotDataDescriptor32, |
22 kV8SnapshotDataDescriptor64, | 23 kV8SnapshotDataDescriptor64, |
23 #else | 24 #else |
24 kV8SnapshotDataDescriptor, | 25 kV8SnapshotDataDescriptor, |
25 #endif | 26 #endif |
26 #endif | 27 #endif |
27 | 28 |
28 #if defined(OS_ANDROID) | 29 #if defined(OS_ANDROID) |
29 kAndroidPropertyDescriptor, | 30 kAndroidPropertyDescriptor, |
30 kAndroidICUDataDescriptor, | 31 kAndroidICUDataDescriptor, |
31 #endif | 32 #endif |
32 | 33 |
33 // The first key that embedders can use to register descriptors (see | 34 // The first key that embedders can use to register descriptors (see |
34 // base/posix/global_descriptors.h). | 35 // base/posix/global_descriptors.h). |
35 kContentIPCDescriptorMax | 36 kContentIPCDescriptorMax |
36 }; | 37 }; |
37 | 38 |
38 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ | 39 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
OLD | NEW |