mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
macOS: Add support for and enable the V2 sandbox (issue #2459)
The CEF_USE_SANDBOX define is now used on all platforms.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#define CEF_LIBCEF_COMMON_UTIL_MAC_H_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace base {
|
||||
class FilePath;
|
||||
}
|
||||
@@ -31,6 +33,13 @@ base::FilePath GetFrameworkResourcesDirectory();
|
||||
// "myapp.app/Contents/MacOS/myapp").
|
||||
base::FilePath GetMainProcessPath();
|
||||
|
||||
// Returns the path to the top-level app bundle that contains the main process
|
||||
// executable (e.g. "myapp.app").
|
||||
base::FilePath GetMainBundlePath();
|
||||
|
||||
// Returns the identifier for the top-level app bundle.
|
||||
std::string GetMainBundleID();
|
||||
|
||||
// Returns the path to the Resources directory inside the top-level app bundle
|
||||
// (e.g. "myapp.app/Contents/Resources"). May return an empty value if not
|
||||
// running in an app bundle.
|
||||
|
Reference in New Issue
Block a user