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 "ipc/ipc_descriptors.h" | 8 #include "ipc/ipc_descriptors.h" |
9 | 9 |
10 // This is a list of global descriptor keys to be used with the | 10 // This is a list of global descriptor keys to be used with the |
11 // base::GlobalDescriptors object (see base/posix/global_descriptors.h) | 11 // base::GlobalDescriptors object (see base/posix/global_descriptors.h) |
12 enum { | 12 enum { |
13 kCrashDumpSignal = kIPCDescriptorMax, | 13 kCrashDumpSignal = kIPCDescriptorMax, |
14 kSandboxIPCChannel, // http://code.google.com/p/chromium/LinuxSandboxIPC | 14 kSandboxIPCChannel, // http://code.google.com/p/chromium/LinuxSandboxIPC |
15 | 15 |
| 16 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) |
| 17 kV8NativesDataDescriptor, |
| 18 kV8SnapshotDataDescriptor, |
| 19 #endif |
| 20 |
16 #if defined(OS_ANDROID) | 21 #if defined(OS_ANDROID) |
17 kAndroidPropertyDescriptor, | 22 kAndroidPropertyDescriptor, |
18 kAndroidICUDataDescriptor, | 23 kAndroidICUDataDescriptor, |
19 | |
20 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | |
21 kV8NativesDataDescriptor, | |
22 kV8SnapshotDataDescriptor, | |
23 #endif | |
24 | |
25 #endif | 24 #endif |
26 | 25 |
27 // The first key that embedders can use to register descriptors (see | 26 // The first key that embedders can use to register descriptors (see |
28 // base/posix/global_descriptors.h). | 27 // base/posix/global_descriptors.h). |
29 kContentIPCDescriptorMax | 28 kContentIPCDescriptorMax |
30 }; | 29 }; |
31 | 30 |
32 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ | 31 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
OLD | NEW |