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

Side by Side Diff: sandbox/mac/launchd_interception_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 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/bootstrap_sandbox.cc ('k') | sandbox/mac/mach_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 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/launchd_interception_server.h" 5 #include "sandbox/mac/launchd_interception_server.h"
6 6
7 #include <servers/bootstrap.h> 7 #include <servers/bootstrap.h>
8 #include <stddef.h>
9 #include <stdint.h>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/mac/mac_util.h" 12 #include "base/mac/mac_util.h"
11 #include "base/mac/mach_logging.h" 13 #include "base/mac/mach_logging.h"
12 #include "sandbox/mac/bootstrap_sandbox.h" 14 #include "sandbox/mac/bootstrap_sandbox.h"
13 #include "sandbox/mac/mach_message_server.h" 15 #include "sandbox/mac/mach_message_server.h"
14 #include "sandbox/mac/os_compatibility.h" 16 #include "sandbox/mac/os_compatibility.h"
15 #include "sandbox/mac/xpc_message_server.h" 17 #include "sandbox/mac/xpc_message_server.h"
16 18
17 namespace sandbox { 19 namespace sandbox {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 if (xpc_launchd_) { 172 if (xpc_launchd_) {
171 // xpc_dictionary_set_mach_send increments the send right count. 173 // xpc_dictionary_set_mach_send increments the send right count.
172 xpc_dictionary_set_mach_send(request.xpc, "domain-port", 174 xpc_dictionary_set_mach_send(request.xpc, "domain-port",
173 sandbox_->real_bootstrap_port()); 175 sandbox_->real_bootstrap_port());
174 } 176 }
175 177
176 message_server_->ForwardMessage(request, sandbox_->real_bootstrap_port()); 178 message_server_->ForwardMessage(request, sandbox_->real_bootstrap_port());
177 } 179 }
178 180
179 } // namespace sandbox 181 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/mac/bootstrap_sandbox.cc ('k') | sandbox/mac/mach_message_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698