OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/mac/authorization_util.h" | 5 #include "base/mac/authorization_util.h" |
6 | 6 |
7 #import <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
8 #include <sys/wait.h> | 8 #include <sys/wait.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/mac/bundle_locations.h" | 14 #include "base/mac/bundle_locations.h" |
| 15 #include "base/mac/foundation_util.h" |
15 #include "base/mac/mac_logging.h" | 16 #include "base/mac/mac_logging.h" |
16 #import "base/mac/mac_util.h" | |
17 #include "base/mac/scoped_authorizationref.h" | 17 #include "base/mac/scoped_authorizationref.h" |
18 #include "base/posix/eintr_wrapper.h" | 18 #include "base/posix/eintr_wrapper.h" |
19 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
20 #include "base/strings/string_util.h" | 20 #include "base/strings/string_util.h" |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 namespace mac { | 23 namespace mac { |
24 | 24 |
25 AuthorizationRef GetAuthorizationRightsWithPrompt( | 25 AuthorizationRef GetAuthorizationRightsWithPrompt( |
26 AuthorizationRights* rights, | 26 AuthorizationRights* rights, |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 } | 187 } |
188 } else { | 188 } else { |
189 *exit_status_pointer = -1; | 189 *exit_status_pointer = -1; |
190 } | 190 } |
191 | 191 |
192 return status; | 192 return status; |
193 } | 193 } |
194 | 194 |
195 } // namespace mac | 195 } // namespace mac |
196 } // namespace base | 196 } // namespace base |
OLD | NEW |