Chromium Code Reviews| 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 // Sets the initial descriptor value. Subsequence descriptors will | |
|
jam
2012/10/03 16:04:06
this comment is just describing the code, so not n
acleung
2012/10/03 18:29:39
Done.
| |
| 14 // be incremented based on its ordinal. | |
| 13 kCrashDumpSignal = kPrimaryIPCChannel + 1, | 15 kCrashDumpSignal = kPrimaryIPCChannel + 1, |
| 14 kSandboxIPCChannel = kPrimaryIPCChannel + 2, // http://code.google.com/p/chro mium/LinuxSandboxIPC | 16 kSandboxIPCChannel, // http://code.google.com/p/chromium/LinuxSandboxIPC |
| 17 | |
| 18 #if defined(OS_ANDROID) | |
| 19 kAndroidPropertyDescriptor, | |
| 20 #endif | |
| 21 | |
| 22 // The first key that embedders can use to register descriptors (see | |
| 23 // base/global_descriptors_posix.h). | |
| 24 kContentIPCDescriptorMax | |
| 15 }; | 25 }; |
| 16 | 26 |
| 17 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ | 27 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ |
| OLD | NEW |