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

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

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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>
10 9
11 #include "base/mac/dispatch_source_mach.h" 10 #include "base/mac/dispatch_source_mach.h"
12 #include "base/mac/scoped_mach_port.h" 11 #include "base/mac/scoped_mach_port.h"
13 #include "base/mac/scoped_mach_vm.h" 12 #include "base/mac/scoped_mach_vm.h"
14 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
15 #include "sandbox/mac/message_server.h" 14 #include "sandbox/mac/message_server.h"
16 15
17 namespace sandbox { 16 namespace sandbox {
18 17
19 // A Mach message server that operates a receive port. Messages are received 18 // A Mach message server that operates a receive port. Messages are received
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // MACH_RECV dispatch source that handles the |server_port_|. 63 // MACH_RECV dispatch source that handles the |server_port_|.
65 scoped_ptr<base::DispatchSourceMach> dispatch_source_; 64 scoped_ptr<base::DispatchSourceMach> dispatch_source_;
66 65
67 // Whether or not ForwardMessage() was called during ReceiveMessage(). 66 // Whether or not ForwardMessage() was called during ReceiveMessage().
68 bool did_forward_message_; 67 bool did_forward_message_;
69 }; 68 };
70 69
71 } // namespace sandbox 70 } // namespace sandbox
72 71
73 #endif // SANDBOX_MAC_MACH_MESSAGE_SERVER_H_ 72 #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