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

Unified Diff: webrtc/base/macutils.h

Issue 2316563002: Revert of Remove all reference to carbon api (Closed)
Patch Set: Created 4 years, 3 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 | « webrtc/base/macsocketserver_unittest.cc ('k') | webrtc/base/macutils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/macutils.h
diff --git a/webrtc/base/macutils.h b/webrtc/base/macutils.h
index fdcb3eee5b7162e82f8eaf04284da9126c513631..78c442f0e9a4bd9ddd8ee39e93cd3a044cfe2dc2 100644
--- a/webrtc/base/macutils.h
+++ b/webrtc/base/macutils.h
@@ -12,6 +12,9 @@
#define WEBRTC_BASE_MACUTILS_H__
#include <CoreFoundation/CoreFoundation.h>
+#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
+#include <Carbon/Carbon.h>
+#endif
#include <string>
namespace rtc {
@@ -41,6 +44,10 @@
};
MacOSVersionName GetOSVersionName();
+
+// Runs the given apple script. Only supports scripts that does not
+// require user interaction.
+bool RunAppleScript(const std::string& script);
#endif
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « webrtc/base/macsocketserver_unittest.cc ('k') | webrtc/base/macutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698