| 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 switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // Used to specify the type of child process (switch values from | 9 // Used to specify the type of child process (switch values from |
| 10 // |ChildProcess::Type|). | 10 // |ChildProcess::Type|). |
| 11 const char kChildProcessType[] = "child-process-type"; | 11 const char kChildProcessType[] = "child-process-type"; |
| 12 | 12 |
| 13 // Force dynamically loaded apps / services to be loaded irrespective of cache | 13 // Force dynamically loaded apps / services to be loaded irrespective of cache |
| 14 // instructions. | 14 // instructions. |
| 15 const char kDisableCache[] = "disable-cache"; | 15 const char kDisableCache[] = "disable-cache"; |
| 16 | 16 |
| 17 // Load apps in separate processes. | 17 // Load apps in separate processes. |
| 18 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe | 18 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe |
| 19 // change it to "single-process") when it works. | 19 // change it to "single-process") when it works. |
| 20 const char kEnableMultiprocess[] = "enable-multiprocess"; | 20 const char kEnableMultiprocess[] = "enable-multiprocess"; |
| 21 | 21 |
| 22 const char kOrigin[] = "origin"; | 22 const char kOrigin[] = "origin"; |
| 23 // Enables the mojo spy, which acts as a man-in-the-middle inspector for |
| 24 // message pipes and other activities. This is work in progress. |
| 25 const char kSpy[] = "spy"; |
| 23 | 26 |
| 24 } // namespace switches | 27 } // namespace switches |
| OLD | NEW |