| 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 "services/shell/runner/common/switches.h" | 5 #include "services/service_manager/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 service library to load as | 10 // a child process. Takes the absolute path to the service library 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 // Specifies a JSON file from which to read a set of service metadata overrides. | 21 // Specifies a JSON file from which to read a set of service metadata overrides. |
| 22 // This can be used with the standalone mojo_runner to override executable and | 22 // This can be used with the standalone mojo_runner to override executable and |
| 23 // package resolution behavior. | 23 // package resolution behavior. |
| 24 const char kServiceOverrides[] = "service-overrides"; | 24 const char kServiceOverrides[] = "service-overrides"; |
| 25 | 25 |
| 26 } // namespace switches | 26 } // namespace switches |
| OLD | NEW |