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

Unified Diff: chrome/common/sandbox_mac.h

Issue 5580002: Mac: Tell the GPU sandbox to deny a few things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser tests pass Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/sandbox_mac.h
diff --git a/chrome/common/sandbox_mac.h b/chrome/common/sandbox_mac.h
index 10d622e129200e7748f37c1b89595cfceda16aae..e81f72e0585b509bf619331897407b509c772b29 100644
--- a/chrome/common/sandbox_mac.h
+++ b/chrome/common/sandbox_mac.h
@@ -82,8 +82,8 @@ class Sandbox {
};
// Warm up System APIs that empirically need to be accessed before the Sandbox
- // is turned on.
- static void SandboxWarmup();
+ // is turned on. |sandbox_type| is the type of sandbox to warm up.
+ static void SandboxWarmup(SandboxProcessType sandbox_type);
// Turns on the OS X sandbox for this process.
// |sandbox_type| - type of Sandbox to use.

Powered by Google App Engine
This is Rietveld 408576698