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 // Comma separated list like: | 13 // Comma separated list like: |
14 // text/html,mojo://mojo_html_viewer,application/bravo,https://abarth.com/bravo | 14 // text/html,mojo://mojo_html_viewer,application/bravo,https://abarth.com/bravo |
15 const char kContentHandlers[] = "content-handlers"; | 15 const char kContentHandlers[] = "content-handlers"; |
16 | 16 |
17 // Force dynamically loaded apps / services to be loaded irrespective of cache | 17 // Force dynamically loaded apps / services to be loaded irrespective of cache |
18 // instructions. | 18 // instructions. |
19 const char kDisableCache[] = "disable-cache"; | 19 const char kDisableCache[] = "disable-cache"; |
20 | 20 |
| 21 // Allow externally-running applications to discover, connect to, and register |
| 22 // themselves with the shell. |
| 23 // TODO(cmasone): Work in progress. Once we're sure this works, remove. |
| 24 const char kEnableExternalApplications[] = "enable-external-applications"; |
| 25 |
21 // Load apps in separate processes. | 26 // Load apps in separate processes. |
22 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe | 27 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe |
23 // change it to "single-process") when it works. | 28 // change it to "single-process") when it works. |
24 const char kEnableMultiprocess[] = "enable-multiprocess"; | 29 const char kEnableMultiprocess[] = "enable-multiprocess"; |
25 | 30 |
26 // Map mojo: URLs to a shared library of similar name at this origin. See | 31 // Map mojo: URLs to a shared library of similar name at this origin. See |
27 // mojo_url_resolver.cc for details. | 32 // mojo_url_resolver.cc for details. |
28 const char kOrigin[] = "origin"; | 33 const char kOrigin[] = "origin"; |
29 | 34 |
30 // Enables the mojo spy, which acts as a man-in-the-middle inspector for | 35 // Enables the mojo spy, which acts as a man-in-the-middle inspector for |
31 // message pipes and other activities. This is work in progress. | 36 // message pipes and other activities. This is work in progress. |
32 const char kSpy[] = "spy"; | 37 const char kSpy[] = "spy"; |
33 | 38 |
34 } // namespace switches | 39 } // namespace switches |
OLD | NEW |