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 // Used just for debugging to make it easier to attach debuggers. The actual app |
| 12 // path that is used is sent over IPC. |
| 13 const char kApp[] = "app"; |
| 14 |
11 // Used internally by the main process to indicate that a new process should be | 15 // Used internally by the main process to indicate that a new process should be |
12 // a child process. Not for user use. | 16 // a child process. Not for user use. |
13 const char kChildProcess[] = "child-process"; | 17 const char kChildProcess[] = "child-process"; |
14 | 18 |
15 // Comma separated list like: | 19 // Comma separated list like: |
16 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo | 20 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo |
17 const char kContentHandlers[] = "content-handlers"; | 21 const char kContentHandlers[] = "content-handlers"; |
18 | 22 |
19 // Force dynamically loaded apps / services to be loaded irrespective of cache | 23 // Force dynamically loaded apps / services to be loaded irrespective of cache |
20 // instructions. | 24 // instructions. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // seconds or when the shell exits. | 59 // seconds or when the shell exits. |
56 const char kTraceStartup[] = "trace-startup"; | 60 const char kTraceStartup[] = "trace-startup"; |
57 | 61 |
58 // Specifies a set of mappings to apply when resolving urls. The value is a set | 62 // Specifies a set of mappings to apply when resolving urls. The value is a set |
59 // of ',' separated mappings, where each mapping consists of a pair of urls | 63 // of ',' separated mappings, where each mapping consists of a pair of urls |
60 // giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, | 64 // giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, |
61 // the first maps 'a' to 'b' and the second 'c' to 'd'. | 65 // the first maps 'a' to 'b' and the second 'c' to 'd'. |
62 const char kURLMappings[] = "url-mappings"; | 66 const char kURLMappings[] = "url-mappings"; |
63 | 67 |
64 } // namespace switches | 68 } // namespace switches |
OLD | NEW |