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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
11 // If set apps downloaded are not deleted. | 11 // If set apps downloaded are not deleted. |
12 const char kDontDeleteOnDownload[] = "dont-delete-on-download"; | 12 const char kDontDeleteOnDownload[] = "dont-delete-on-download"; |
13 | 13 |
14 // Load apps in separate processes. | 14 // Load apps in separate processes. |
15 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe | 15 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe |
16 // change it to "single-process") when it works. | 16 // change it to "single-process") when it works. |
17 const char kEnableMultiprocess[] = "enable-multiprocess"; | 17 const char kEnableMultiprocess[] = "enable-multiprocess"; |
18 | 18 |
| 19 // Disables the sandbox for debugging. (Why the Mojo prefix on the constant? |
| 20 // Because otherwise we conflict with content.) |
| 21 const char kMojoNoSandbox[] = "no-sandbox"; |
| 22 |
19 // If set apps downloaded are saved in with a predictable filename, to help | 23 // If set apps downloaded are saved in with a predictable filename, to help |
20 // remote debugging: when gdb is used through gdbserver, it needs to be able to | 24 // remote debugging: when gdb is used through gdbserver, it needs to be able to |
21 // find locally any loaded library. For this, gdb use the filename of the | 25 // find locally any loaded library. For this, gdb use the filename of the |
22 // library. When using this flag, the application are named with the sha256 of | 26 // library. When using this flag, the application are named with the sha256 of |
23 // their content. | 27 // their content. |
24 const char kPredictableAppFilenames[] = "predictable-app-filenames"; | 28 const char kPredictableAppFilenames[] = "predictable-app-filenames"; |
25 | 29 |
26 // Pull apps via component updater, rather than using default local resolution | 30 // Pull apps via component updater, rather than using default local resolution |
27 // to find them. | 31 // to find them. |
28 const char kUseUpdater[] = "use-updater"; | 32 const char kUseUpdater[] = "use-updater"; |
29 | 33 |
30 } // namespace switches | 34 } // namespace switches |
OLD | NEW |