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

Unified Diff: content/common/sandbox_mac.h

Issue 2931173003: Implement the V2 sandbox in the process launcher. (Closed)
Patch Set: Created 3 years, 6 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
Index: content/common/sandbox_mac.h
diff --git a/content/common/sandbox_mac.h b/content/common/sandbox_mac.h
index 2c3e27c9f8ffad64919586f1f7df263393420424..c6a7c1fcef2550bd31cfbb89475ac514ec792ff2 100644
--- a/content/common/sandbox_mac.h
+++ b/content/common/sandbox_mac.h
@@ -43,12 +43,23 @@ class CONTENT_EXPORT Sandbox {
// Returns true if the sandbox has been enabled for the current process.
static bool SandboxIsCurrentlyActive();
- private:
// Convert provided path into a "canonical" path matching what the Sandbox
// expects i.e. one without symlinks.
// This path is not necessarily unique e.g. in the face of hardlinks.
static base::FilePath GetCanonicalSandboxPath(const base::FilePath& path);
+ static const char* kSandboxEnableLogging;
+ static const char* kSandboxDisableDenialLogging;
+ static const char* kSandboxHomedirAsLiteral;
+ static const char* kSandboxElCapOrLater;
+ static const char* kSandboxPermittedDir;
+ static const char* kSandboxBundlePath;
+ static const char* kSandboxLoggingPathAsLiteral;
+ static const char* kSandboxChromeBundleId;
+ static const char* kSandboxComponentPath;
+ static const char* kSandboxChromePID;
+
+ private:
FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, StringEscape);
FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, RegexEscape);
FRIEND_TEST_ALL_PREFIXES(MacDirAccessSandboxTest, SandboxAccess);

Powered by Google App Engine
This is Rietveld 408576698