OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "mojo/shell/runner/common/switches.h" | 5 #include "services/shell/runner/common/switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Used internally by the main process to indicate that a new process should be | 9 // Used internally by the main process to indicate that a new process should be |
10 // a child process. Takes the absolute path to the mojo application to load as | 10 // a child process. Takes the absolute path to the mojo application to load as |
11 // an argument. Not for user use. | 11 // an argument. Not for user use. |
12 const char kChildProcess[] = "child-process"; | 12 const char kChildProcess[] = "child-process"; |
13 | 13 |
14 // Enables the sandbox on this process. | 14 // Enables the sandbox on this process. |
15 const char kEnableSandbox[] = "enable-sandbox"; | 15 const char kEnableSandbox[] = "enable-sandbox"; |
16 | 16 |
17 // Provides a child process with a token string they can use to establish a | 17 // Provides a child process with a token string they can use to establish a |
18 // primordial message pipe to the parent. | 18 // primordial message pipe to the parent. |
19 const char kPrimordialPipeToken[] = "primordial-pipe-token"; | 19 const char kPrimordialPipeToken[] = "primordial-pipe-token"; |
20 | 20 |
21 } // namespace switches | 21 } // namespace switches |
OLD | NEW |