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

Side by Side Diff: sandbox/mac/mach_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 5 years 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/launchd_interception_server.cc ('k') | sandbox/mac/mach_message_server.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_MACH_MESSAGE_SERVER_H_ 5 #ifndef SANDBOX_MAC_MACH_MESSAGE_SERVER_H_
6 #define SANDBOX_MAC_MACH_MESSAGE_SERVER_H_ 6 #define SANDBOX_MAC_MACH_MESSAGE_SERVER_H_
7 7
8 #include <mach/mach.h> 8 #include <mach/mach.h>
9 #include <stddef.h>
9 10
10 #include "base/mac/dispatch_source_mach.h" 11 #include "base/mac/dispatch_source_mach.h"
11 #include "base/mac/scoped_mach_port.h" 12 #include "base/mac/scoped_mach_port.h"
12 #include "base/mac/scoped_mach_vm.h" 13 #include "base/mac/scoped_mach_vm.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "sandbox/mac/message_server.h" 15 #include "sandbox/mac/message_server.h"
15 16
16 namespace sandbox { 17 namespace sandbox {
17 18
18 // A Mach message server that operates a receive port. Messages are received 19 // A Mach message server that operates a receive port. Messages are received
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // MACH_RECV dispatch source that handles the |server_port_|. 64 // MACH_RECV dispatch source that handles the |server_port_|.
64 scoped_ptr<base::DispatchSourceMach> dispatch_source_; 65 scoped_ptr<base::DispatchSourceMach> dispatch_source_;
65 66
66 // Whether or not ForwardMessage() was called during ReceiveMessage(). 67 // Whether or not ForwardMessage() was called during ReceiveMessage().
67 bool did_forward_message_; 68 bool did_forward_message_;
68 }; 69 };
69 70
70 } // namespace sandbox 71 } // namespace sandbox
71 72
72 #endif // SANDBOX_MAC_MACH_MESSAGE_SERVER_H_ 73 #endif // SANDBOX_MAC_MACH_MESSAGE_SERVER_H_
OLDNEW
« no previous file with comments | « sandbox/mac/launchd_interception_server.cc ('k') | sandbox/mac/mach_message_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698