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

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

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/mach_message_server.h ('k') | sandbox/mac/os_compatibility.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 #include "sandbox/mac/mach_message_server.h" 5 #include "sandbox/mac/mach_message_server.h"
6 6
7 #include <bsm/libbsm.h> 7 #include <bsm/libbsm.h>
8 #include <servers/bootstrap.h> 8 #include <servers/bootstrap.h>
9 #include <stddef.h>
9 10
10 #include <string> 11 #include <string>
11 12
12 #include "base/logging.h" 13 #include "base/logging.h"
13 #include "base/mac/mach_logging.h" 14 #include "base/mac/mach_logging.h"
14 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
15 16
16 namespace sandbox { 17 namespace sandbox {
17 18
18 MachMessageServer::MachMessageServer( 19 MachMessageServer::MachMessageServer(
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // forwarded message was sent from the process hosting this sandbox server, 184 // forwarded message was sent from the process hosting this sandbox server,
184 // destroying the message could also destroy rights held outside the scope of 185 // destroying the message could also destroy rights held outside the scope of
185 // this message server. 186 // this message server.
186 if (!did_forward_message_) { 187 if (!did_forward_message_) {
187 mach_msg_destroy(request); 188 mach_msg_destroy(request);
188 mach_msg_destroy(reply); 189 mach_msg_destroy(reply);
189 } 190 }
190 } 191 }
191 192
192 } // namespace sandbox 193 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/mac/mach_message_server.h ('k') | sandbox/mac/os_compatibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698