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

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

Issue 404893002: Add an XPC implementation of sandbox::MessageServer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/mac/xpc_stubs.sig ('k') | no next file » | 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>
9
10 #include "sandbox/sandbox_export.h"
11
8 // Declare or include public types. 12 // Declare or include public types.
9 #if !defined(MAC_OS_X_VERSION_10_7) || \ 13 #if !defined(MAC_OS_X_VERSION_10_7) || \
10 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
11 15
12 extern "C" { 16 extern "C" {
13 typedef void* xpc_object_t; 17 typedef void* xpc_object_t;
14 } // extern "C" 18 } // extern "C"
15 19
16 #else 20 #else
17 21
18 #include <xpc/xpc.h> 22 #include <xpc/xpc.h>
19 23
20 #endif 24 #endif
21 25
22 // Declare private types. 26 // Declare private types.
23 extern "C" { 27 extern "C" {
24 typedef struct _xpc_pipe_s* xpc_pipe_t; 28 typedef struct _xpc_pipe_s* xpc_pipe_t;
25 } // extern "C" 29 } // extern "C"
26 30
27 #endif // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ 31 #endif // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_
OLDNEW
« no previous file with comments | « sandbox/mac/xpc_stubs.sig ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698