OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "mojo/runner/switches.h" | |
6 | |
7 namespace switches { | |
8 | |
9 // Comma separated list like: | |
10 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo | |
11 const char kContentHandlers[] = "content-handlers"; | |
12 | |
13 // In multiprocess mode, force these apps to be loaded in the main process. | |
14 // This is a comma-separated list of URLs. Example: | |
15 // --force-in-process=mojo:native_viewport_service,mojo:network_service | |
16 const char kForceInProcess[] = "force-in-process"; | |
17 | |
18 // Print the usage message and exit. | |
19 const char kHelp[] = "help"; | |
20 | |
21 // Specify origin to map to base url. See url_resolver.cc for details. | |
22 // Can be used multiple times. | |
23 const char kMapOrigin[] = "map-origin"; | |
24 | |
25 // Specifies a set of mappings to apply when resolving URLs. The value is a set | |
26 // of comma-separated mappings, where each mapping consists of a pair of URLs | |
27 // giving the to/from URLs to map. For example, 'a=b,c=d' contains two mappings, | |
28 // the first maps 'a' to 'b' and the second 'c' to 'd'. | |
29 const char kURLMappings[] = "url-mappings"; | |
30 | |
31 // When this is set, we create a temporary user data dir for the process, and | |
32 // add a flag so kUserDataDir points to it. | |
33 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir"; | |
34 | |
35 // Specifies the user data directory. This is the one directory which stores | |
36 // all persistent data. | |
37 const char kUserDataDir[] = "user-data-dir"; | |
38 | |
39 } // namespace switches | |
OLD | NEW |