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

Side by Side Diff: sandbox/mac/bootstrap_sandbox.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/bootstrap_sandbox.h ('k') | sandbox/mac/launchd_interception_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 #include "sandbox/mac/bootstrap_sandbox.h" 5 #include "sandbox/mac/bootstrap_sandbox.h"
6 6
7 #include <servers/bootstrap.h> 7 #include <servers/bootstrap.h>
8 #include <stdint.h>
8 #include <unistd.h> 9 #include <unistd.h>
9 10
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/mac/foundation_util.h" 12 #include "base/mac/foundation_util.h"
12 #include "base/mac/mach_logging.h" 13 #include "base/mac/mach_logging.h"
14 #include "base/macros.h"
13 #include "base/rand_util.h" 15 #include "base/rand_util.h"
14 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
15 #include "sandbox/mac/launchd_interception_server.h" 17 #include "sandbox/mac/launchd_interception_server.h"
16 #include "sandbox/mac/pre_exec_delegate.h" 18 #include "sandbox/mac/pre_exec_delegate.h"
17 19
18 namespace sandbox { 20 namespace sandbox {
19 21
20 namespace { 22 namespace {
21 23
22 struct SandboxCheckInRequest { 24 struct SandboxCheckInRequest {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 } else { 252 } else {
251 { 253 {
252 base::AutoLock lock(lock_); 254 base::AutoLock lock(lock_);
253 sandboxed_processes_.erase(client_pid); 255 sandboxed_processes_.erase(client_pid);
254 } 256 }
255 MACH_LOG(ERROR, kr) << "HandleChildCheckIn mach_msg MACH_SEND_MSG"; 257 MACH_LOG(ERROR, kr) << "HandleChildCheckIn mach_msg MACH_SEND_MSG";
256 } 258 }
257 } 259 }
258 260
259 } // namespace sandbox 261 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/mac/bootstrap_sandbox.h ('k') | sandbox/mac/launchd_interception_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698