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

Unified Diff: content/public/common/sandbox_type_mac.h

Issue 303293002: Initialize the bootstrap sandbox in the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename constant Created 6 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
« no previous file with comments | « content/plugin/plugin_main_mac.mm ('k') | content/public/common/sandboxed_process_launcher_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/sandbox_type_mac.h
diff --git a/content/public/common/sandbox_type_mac.h b/content/public/common/sandbox_type_mac.h
index b034ba51dc2aa4c3cb68c67ea2ba41a29397c9a4..4121ae4db9b93bda9ae7614a0b04d683b5a100cb 100644
--- a/content/public/common/sandbox_type_mac.h
+++ b/content/public/common/sandbox_type_mac.h
@@ -11,6 +11,9 @@ namespace content {
// additional sandbox types with IDs starting with SANDBOX_TYPE_AFTER_LAST_TYPE.
enum SandboxType {
+ // Not a valid sandbox type.
+ SANDBOX_TYPE_INVALID = -1,
+
SANDBOX_TYPE_FIRST_TYPE = 0, // Placeholder to ease iteration.
SANDBOX_TYPE_RENDERER = SANDBOX_TYPE_FIRST_TYPE,
@@ -31,6 +34,10 @@ enum SandboxType {
// The PPAPI plugin process.
SANDBOX_TYPE_PPAPI,
+ // The NPAPI plugin process. This does not use a Seatbelt/.sb sandbox policy,
+ // but it uses a bootstrap sandbox.
+ SANDBOX_TYPE_NPAPI,
+
SANDBOX_TYPE_AFTER_LAST_TYPE, // Placeholder to ease iteration.
};
« no previous file with comments | « content/plugin/plugin_main_mac.mm ('k') | content/public/common/sandboxed_process_launcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698