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/global_descriptors_posix.h) | 11 // base::GlobalDescriptors object (see base/global_descriptors_posix.h) |
12 enum { | 12 enum { |
13 kCrashDumpSignal = kPrimaryIPCChannel + 1, | 13 kCrashDumpSignal = kPrimaryIPCChannel + 1, |
14 kSandboxIPCChannel = kPrimaryIPCChannel + 2, // http://code.google.com/p/chro
mium/LinuxSandboxIPC | 14 kSandboxIPCChannel, // http://code.google.com/p/chromium/LinuxSandboxIPC |
| 15 |
| 16 #if defined(OS_ANDROID) |
| 17 kAndroidPropertyDescriptor, |
| 18 #endif |
| 19 |
| 20 // The first key that embedders can use to register descriptors (see |
| 21 // base/global_descriptors_posix.h). |
| 22 kContentIPCDescriptorMax |
15 }; | 23 }; |
16 | 24 |
17 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ | 25 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
OLD | NEW |