Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: sandbox/mac/xpc_stubs_header.fragment

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sandbox/mac/xpc_message_server_unittest.cc ('k') | sandbox/win/sandbox_poc/main_ui_window.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
9 11
10 #include "sandbox/sandbox_export.h" 12 #include "sandbox/sandbox_export.h"
11 13
12 // Declare or include public types. 14 // Declare or include public types.
13 #if !defined(MAC_OS_X_VERSION_10_7) || \ 15 #if !defined(MAC_OS_X_VERSION_10_7) || \
14 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 16 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
15 17
16 extern "C" { 18 extern "C" {
17 typedef void* xpc_object_t; 19 typedef void* xpc_object_t;
18 } // extern "C" 20 } // extern "C"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 69
68 XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 XPC_NONNULL2 70 XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 XPC_NONNULL2
69 xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char* key); 71 xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char* key);
70 72
71 XPC_EXPORT XPC_MALLOC XPC_WARN_RESULT XPC_NONNULL1 73 XPC_EXPORT XPC_MALLOC XPC_WARN_RESULT XPC_NONNULL1
72 char* xpc_copy_description(xpc_object_t object); 74 char* xpc_copy_description(xpc_object_t object);
73 } // extern "C" 75 } // extern "C"
74 #endif 76 #endif
75 77
76 #endif // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ 78 #endif // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_
OLDNEW
« no previous file with comments | « sandbox/mac/xpc_message_server_unittest.cc ('k') | sandbox/win/sandbox_poc/main_ui_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698