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

Side by Side Diff: content/public/common/content_switches.cc

Issue 2921733002: Add flags for v2 sandbox to Chrome and Helper executable. (Closed)
Patch Set: Address nits 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 unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 1075
1076 #if defined(ENABLE_IPC_FUZZER) 1076 #if defined(ENABLE_IPC_FUZZER)
1077 // Dumps IPC messages sent from renderer processes to the browser process to 1077 // Dumps IPC messages sent from renderer processes to the browser process to
1078 // the given directory. Used primarily to gather samples for IPC fuzzing. 1078 // the given directory. Used primarily to gather samples for IPC fuzzing.
1079 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1079 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1080 1080
1081 // Specifies the testcase used by the IPC fuzzer. 1081 // Specifies the testcase used by the IPC fuzzer.
1082 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1082 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1083 #endif 1083 #endif
1084 1084
1085 #if defined(OS_MACOSX)
1086 // Enable the V2 sandbox during the helper executable initialization.
1087 const char kEnableV2Sandbox[] = "v2-sandbox";
1088
1089 // The command line paramter indicating that the v2 sandbox is enabled. This
1090 // must be different than the "v2-sandbox" flag to avoid endless re-executing.
1091 // The flag tells the sandbox initialization code inside Chrome that the sandbox
1092 // should already be enabled.
1093 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as
1094 // processes will be assumed to run under the V2 sandbox.
1095 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled";
1096 #endif // defined(OS_MACOSX)
1097
1085 // Don't dump stuff here, follow the same order as the header. 1098 // Don't dump stuff here, follow the same order as the header.
1086 1099
1087 } // namespace switches 1100 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698