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

Unified Diff: base/mac/authorization_util.h

Issue 9791049: New BASE_EXPORT macros. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/authorization_util.h
diff --git a/base/mac/authorization_util.h b/base/mac/authorization_util.h
index c6a63c05173f030aeac16ab36b5112853f912d24..9b95578aa62ebecd0ae1817f683042dfa5c65192 100644
--- a/base/mac/authorization_util.h
+++ b/base/mac/authorization_util.h
@@ -29,6 +29,8 @@
#include <stdio.h>
#include <sys/types.h>
+#include "base/base_export.h"
+
namespace base {
namespace mac {
@@ -37,6 +39,7 @@ namespace mac {
// |prompt| will be used as the prompt string and an icon appropriate for the
// application will be displayed in a prompt dialog. Note that the system
// appends its own text to the prompt string. Returns NULL on failure.
+BASE_EXPORT
AuthorizationRef AuthorizationCreateToRunAsRoot(CFStringRef prompt);
// Calls straight through to AuthorizationExecuteWithPrivileges. If that
@@ -56,6 +59,7 @@ OSStatus ExecuteWithPrivilegesAndGetPID(AuthorizationRef authorization,
// exit status is placed in |exit_status|, otherwise, -1 is stored.
// |exit_status| may be NULL and this function will still wait for the process
// to exit.
+BASE_EXPORT
OSStatus ExecuteWithPrivilegesAndWait(AuthorizationRef authorization,
const char* tool_path,
AuthorizationFlags options,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698