OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/switches.h" | 5 #include "mojo/shell/switches.h" |
6 | 6 |
7 namespace mojo { | 7 namespace mojo { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Uses the mojo:package_manager application instead of the builtin one. | |
11 const char kDontUseRemotePackageManager[] = "dont-use-remote-package-manager"; | |
12 | |
13 // Disables the sandbox for debugging. | 10 // Disables the sandbox for debugging. |
14 const char kNoSandbox[] = "no-sandbox"; | 11 const char kNoSandbox[] = "no-sandbox"; |
15 | 12 |
16 // If set apps downloaded are saved in with a predictable filename, to help | 13 // If set apps downloaded are saved in with a predictable filename, to help |
17 // remote debugging: when gdb is used through gdbserver, it needs to be able to | 14 // remote debugging: when gdb is used through gdbserver, it needs to be able to |
18 // find locally any loaded library. For this, gdb use the filename of the | 15 // find locally any loaded library. For this, gdb use the filename of the |
19 // library. When using this flag, the application are named with the sha256 of | 16 // library. When using this flag, the application are named with the sha256 of |
20 // their content. | 17 // their content. |
21 const char kPredictableAppFilenames[] = "predictable-app-filenames"; | 18 const char kPredictableAppFilenames[] = "predictable-app-filenames"; |
22 | 19 |
23 // Load apps in a single processes. | 20 // Load apps in a single processes. |
24 const char kSingleProcess[] = "single-process"; | 21 const char kSingleProcess[] = "single-process"; |
25 | 22 |
26 } // namespace switches | 23 } // namespace switches |
27 } // namespace mojo | 24 } // namespace mojo |
OLD | NEW |