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

Unified Diff: content/public/common/content_switches.cc

Issue 2921733002: Add flags for v2 sandbox to Chrome and Helper executable. (Closed)
Patch Set: Address review feedback Created 3 years, 7 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/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 22ad5399b729a1f5f527512116801520b8d1c8f7..21864dac82f23d4906cbe99a953335c08c229cac 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -1082,6 +1082,14 @@ 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";
+// Indicate that the V2 sandbox has been enabled.
Charlie Reis 2017/06/02 20:50:42 nit: Add blank line before.
Greg K 2017/06/02 23:59:02 Done.
+// TODO(kerrnel): Remove this once the V2 sandbox migration is complete.
+const char kV2SandboxedEnabled[] = "v2-sandbox-enabled";
+#endif // defined(OS_MACOSX)
+
// Don't dump stuff here, follow the same order as the header.
} // namespace switches
« chrome/app/chrome_exe_main_mac.cc ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698