| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ | 5 #ifndef SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ |
| 6 #define SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ | 6 #define SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ |
| 7 | 7 |
| 8 #include <bsm/libbsm.h> | 8 #include <bsm/libbsm.h> |
| 9 #include <stddef.h> | |
| 10 #include <stdint.h> | |
| 11 | 9 |
| 12 #include "sandbox/sandbox_export.h" | 10 #include "sandbox/sandbox_export.h" |
| 13 | 11 |
| 14 // Declare or include public types. | 12 // Declare or include public types. |
| 15 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 13 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
| 16 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 | 14 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
| 17 | 15 |
| 18 extern "C" { | 16 extern "C" { |
| 19 typedef void* xpc_object_t; | 17 typedef void* xpc_object_t; |
| 20 } // extern "C" | 18 } // extern "C" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 67 |
| 70 XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 XPC_NONNULL2 | 68 XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 XPC_NONNULL2 |
| 71 xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char* key); | 69 xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char* key); |
| 72 | 70 |
| 73 XPC_EXPORT XPC_MALLOC XPC_WARN_RESULT XPC_NONNULL1 | 71 XPC_EXPORT XPC_MALLOC XPC_WARN_RESULT XPC_NONNULL1 |
| 74 char* xpc_copy_description(xpc_object_t object); | 72 char* xpc_copy_description(xpc_object_t object); |
| 75 } // extern "C" | 73 } // extern "C" |
| 76 #endif | 74 #endif |
| 77 | 75 |
| 78 #endif // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ | 76 #endif // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ |
| OLD | NEW |