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

Side by Side Diff: sandbox/mac/os_compatibility.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/os_compatibility.h ('k') | sandbox/mac/pre_exec_delegate.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/os_compatibility.h" 5 #include "sandbox/mac/os_compatibility.h"
6 6
7 #include <servers/bootstrap.h> 7 #include <servers/bootstrap.h>
8 #include <stddef.h>
9 #include <stdint.h>
10 #include <unistd.h> 8 #include <unistd.h>
11 9
12 #include "base/mac/mac_util.h" 10 #include "base/mac/mac_util.h"
13 #include "sandbox/mac/xpc.h" 11 #include "sandbox/mac/xpc.h"
14 12
15 namespace sandbox { 13 namespace sandbox {
16 14
17 namespace { 15 namespace {
18 16
19 #pragma pack(push, 4) 17 #pragma pack(push, 4)
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 return make_scoped_ptr(new OSCompatibility_10_6()); 200 return make_scoped_ptr(new OSCompatibility_10_6());
203 else if (base::mac::IsOSLionOrLater() && base::mac::IsOSMavericksOrEarlier()) 201 else if (base::mac::IsOSLionOrLater() && base::mac::IsOSMavericksOrEarlier())
204 return make_scoped_ptr(new OSCompatibility_10_7()); 202 return make_scoped_ptr(new OSCompatibility_10_7());
205 else 203 else
206 return make_scoped_ptr(new OSCompatibility_10_10()); 204 return make_scoped_ptr(new OSCompatibility_10_10());
207 } 205 }
208 206
209 OSCompatibility::~OSCompatibility() {} 207 OSCompatibility::~OSCompatibility() {}
210 208
211 } // namespace sandbox 209 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/mac/os_compatibility.h ('k') | sandbox/mac/pre_exec_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698