| 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 | 17 |
| 17 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) | 18 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) |
| 18 #if defined(OS_ANDROID) | 19 #if defined(OS_ANDROID) |
| 19 kV8NativesDataDescriptor32, | 20 kV8NativesDataDescriptor32, |
| 20 kV8SnapshotDataDescriptor32, | 21 kV8SnapshotDataDescriptor32, |
| 21 kV8NativesDataDescriptor64, | 22 kV8NativesDataDescriptor64, |
| 22 kV8SnapshotDataDescriptor64, | 23 kV8SnapshotDataDescriptor64, |
| 23 #else | 24 #else |
| 24 kV8NativesDataDescriptor, | 25 kV8NativesDataDescriptor, |
| 25 kV8SnapshotDataDescriptor, | 26 kV8SnapshotDataDescriptor, |
| 26 #endif | 27 #endif |
| 27 #endif | 28 #endif |
| 28 | 29 |
| 29 #if defined(OS_ANDROID) | 30 #if defined(OS_ANDROID) |
| 30 kAndroidPropertyDescriptor, | 31 kAndroidPropertyDescriptor, |
| 31 kAndroidICUDataDescriptor, | 32 kAndroidICUDataDescriptor, |
| 32 #endif | 33 #endif |
| 33 | 34 |
| 34 // The first key that embedders can use to register descriptors (see | 35 // The first key that embedders can use to register descriptors (see |
| 35 // base/posix/global_descriptors.h). | 36 // base/posix/global_descriptors.h). |
| 36 kContentIPCDescriptorMax | 37 kContentIPCDescriptorMax |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ | 40 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
| OLD | NEW |