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

Side by Side Diff: chrome/browser/cocoa/authorization_util.h

Issue 449004: Merge r33241 to the 249 branch.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_COCOA_AUTHORIZATION_UTIL_H_ 5 #ifndef CHROME_BROWSER_COCOA_AUTHORIZATION_UTIL_H_
6 #define CHROME_BROWSER_COCOA_AUTHORIZATION_UTIL_H_ 6 #define CHROME_BROWSER_COCOA_AUTHORIZATION_UTIL_H_
7 7
8 // AuthorizationExecuteWithPrivileges fork()s and exec()s the tool, but it 8 // AuthorizationExecuteWithPrivileges fork()s and exec()s the tool, but it
9 // does not wait() for it. It also doesn't provide the caller with access to 9 // does not wait() for it. It also doesn't provide the caller with access to
10 // the forked pid. If used irresponsibly, zombie processes will accumulate. 10 // the forked pid. If used irresponsibly, zombie processes will accumulate.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 OSStatus ExecuteWithPrivilegesAndWait(AuthorizationRef authorization, 49 OSStatus ExecuteWithPrivilegesAndWait(AuthorizationRef authorization,
50 const char* tool_path, 50 const char* tool_path,
51 AuthorizationFlags options, 51 AuthorizationFlags options,
52 const char** arguments, 52 const char** arguments,
53 FILE** pipe, 53 FILE** pipe,
54 int* exit_status); 54 int* exit_status);
55 55
56 } // namespace authorization_util 56 } // namespace authorization_util
57 57
58 #endif // CHROME_BROWSER_COCOA_AUTHORIZATION_UTIL_H_ 58 #endif // CHROME_BROWSER_COCOA_AUTHORIZATION_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/about_window_controller_unittest.mm ('k') | chrome/browser/cocoa/authorization_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698