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

Side by Side Diff: sandbox/mac/xpc_message_server.h

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/pre_exec_delegate.cc ('k') | sandbox/mac/xpc_message_server_unittest.cc » ('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_MESSAGE_SERVER_H_ 5 #ifndef SANDBOX_MAC_XPC_MESSAGE_SERVER_H_
6 #define SANDBOX_MAC_XPC_MESSAGE_SERVER_H_ 6 #define SANDBOX_MAC_XPC_MESSAGE_SERVER_H_
7 7
8 #include <AvailabilityMacros.h> 8 #include <AvailabilityMacros.h>
9 9
10 #include "base/mac/dispatch_source_mach.h" 10 #include "base/mac/dispatch_source_mach.h"
11 #include "base/mac/scoped_mach_port.h" 11 #include "base/mac/scoped_mach_port.h"
12 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "sandbox/mac/message_server.h" 14 #include "sandbox/mac/message_server.h"
14 #include "sandbox/mac/xpc.h" 15 #include "sandbox/mac/xpc.h"
15 #include "sandbox/sandbox_export.h" 16 #include "sandbox/sandbox_export.h"
16 17
17 namespace sandbox { 18 namespace sandbox {
18 19
19 // An implementation of MessageServer that uses XPC pipes to read and write XPC 20 // An implementation of MessageServer that uses XPC pipes to read and write XPC
20 // messages from a Mach port. 21 // messages from a Mach port.
21 class SANDBOX_EXPORT XPCMessageServer : public MessageServer { 22 class SANDBOX_EXPORT XPCMessageServer : public MessageServer {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 54
54 // The reply message, if one has been created. 55 // The reply message, if one has been created.
55 xpc_object_t reply_message_; 56 xpc_object_t reply_message_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(XPCMessageServer); 58 DISALLOW_COPY_AND_ASSIGN(XPCMessageServer);
58 }; 59 };
59 60
60 } // namespace sandbox 61 } // namespace sandbox
61 62
62 #endif // SANDBOX_MAC_XPC_MESSAGE_SERVER_H_ 63 #endif // SANDBOX_MAC_XPC_MESSAGE_SERVER_H_
OLDNEW
« no previous file with comments | « sandbox/mac/pre_exec_delegate.cc ('k') | sandbox/mac/xpc_message_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698