Index: content/public/common/content_switches.cc |
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc |
index 22ad5399b729a1f5f527512116801520b8d1c8f7..0d398431977450fd776567b0588ae308672029d4 100644 |
--- a/content/public/common/content_switches.cc |
+++ b/content/public/common/content_switches.cc |
@@ -1082,6 +1082,19 @@ const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
#endif |
+#if defined(OS_MACOSX) |
+// Enable the V2 sandbox during the helper executable initialization. |
+const char kEnableV2Sandbox[] = "v2-sandbox"; |
+ |
+// The command line paramter indicating that the v2 sandbox is enabled. This |
+// must be different than the "v2-sandbox" flag to avoid endless re-executing. |
+// The flag tells the sandbox initialization code inside Chrome that the sandbox |
+// should already be enabled. |
+// TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as |
+// processes will be assumed to run under the V2 sandbox. |
+const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; |
+#endif // defined(OS_MACOSX) |
+ |
// Don't dump stuff here, follow the same order as the header. |
} // namespace switches |