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

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

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/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>
10 9
11 #include <string> 10 #include <string>
12 11
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "base/mac/mach_logging.h" 13 #include "base/mac/mach_logging.h"
15 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
16 15
17 namespace sandbox { 16 namespace sandbox {
18 17
19 MachMessageServer::MachMessageServer( 18 MachMessageServer::MachMessageServer(
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // forwarded message was sent from the process hosting this sandbox server, 183 // forwarded message was sent from the process hosting this sandbox server,
185 // destroying the message could also destroy rights held outside the scope of 184 // destroying the message could also destroy rights held outside the scope of
186 // this message server. 185 // this message server.
187 if (!did_forward_message_) { 186 if (!did_forward_message_) {
188 mach_msg_destroy(request); 187 mach_msg_destroy(request);
189 mach_msg_destroy(reply); 188 mach_msg_destroy(reply);
190 } 189 }
191 } 190 }
192 191
193 } // namespace sandbox 192 } // 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