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

Side by Side Diff: sandbox/mac/pre_exec_delegate.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 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.h ('k') | sandbox/mac/xpc_message_server.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/pre_exec_delegate.h" 5 #include "sandbox/mac/pre_exec_delegate.h"
6 6
7 #include <mach/mach.h> 7 #include <mach/mach.h>
8 #include <servers/bootstrap.h> 8 #include <servers/bootstrap.h>
9 #include <stdint.h>
10 9
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/mac/mac_util.h" 11 #include "base/mac/mac_util.h"
13 #include "sandbox/mac/bootstrap_sandbox.h" 12 #include "sandbox/mac/bootstrap_sandbox.h"
14 #include "sandbox/mac/xpc.h" 13 #include "sandbox/mac/xpc.h"
15 14
16 namespace sandbox { 15 namespace sandbox {
17 16
18 PreExecDelegate::PreExecDelegate( 17 PreExecDelegate::PreExecDelegate(
19 const std::string& sandbox_server_bootstrap_name, 18 const std::string& sandbox_server_bootstrap_name,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 96 }
98 } else { 97 } else {
99 // On non-XPC launchd systems, bootstrap_look_up() is MIG-based and 98 // On non-XPC launchd systems, bootstrap_look_up() is MIG-based and
100 // generally safe. 99 // generally safe.
101 return bootstrap_look_up(bootstrap_port, 100 return bootstrap_look_up(bootstrap_port,
102 sandbox_server_bootstrap_name_ptr_, out_port); 101 sandbox_server_bootstrap_name_ptr_, out_port);
103 } 102 }
104 } 103 }
105 104
106 } // namespace sandbox 105 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/mac/pre_exec_delegate.h ('k') | sandbox/mac/xpc_message_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698