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 // Specify configuration arguments for a Mojo application URL. For example: |
| 10 // --args-for='mojo://mojo_wget http://www.google.com' |
| 11 const char kArgsFor[] = "args-for"; |
| 12 |
9 // Used to specify the type of child process (switch values from | 13 // Used to specify the type of child process (switch values from |
10 // |ChildProcess::Type|). | 14 // |ChildProcess::Type|). |
11 const char kChildProcessType[] = "child-process-type"; | 15 const char kChildProcessType[] = "child-process-type"; |
12 | 16 |
13 // Comma separated list like: | 17 // Comma separated list like: |
14 // text/html,mojo://mojo_html_viewer,application/bravo,https://abarth.com/bravo | 18 // text/html,mojo://mojo_html_viewer,application/bravo,https://abarth.com/bravo |
15 const char kContentHandlers[] = "content-handlers"; | 19 const char kContentHandlers[] = "content-handlers"; |
16 | 20 |
17 // Force dynamically loaded apps / services to be loaded irrespective of cache | 21 // Force dynamically loaded apps / services to be loaded irrespective of cache |
18 // instructions. | 22 // instructions. |
(...skipping 11 matching lines...) Expand all Loading... |
30 | 34 |
31 // Map mojo: URLs to a shared library of similar name at this origin. See | 35 // Map mojo: URLs to a shared library of similar name at this origin. See |
32 // mojo_url_resolver.cc for details. | 36 // mojo_url_resolver.cc for details. |
33 const char kOrigin[] = "origin"; | 37 const char kOrigin[] = "origin"; |
34 | 38 |
35 // Enables the mojo spy, which acts as a man-in-the-middle inspector for | 39 // Enables the mojo spy, which acts as a man-in-the-middle inspector for |
36 // message pipes and other activities. This is work in progress. | 40 // message pipes and other activities. This is work in progress. |
37 const char kSpy[] = "spy"; | 41 const char kSpy[] = "spy"; |
38 | 42 |
39 } // namespace switches | 43 } // namespace switches |
OLD | NEW |