Add ICU message format support
[chromium-blink-merge.git] / mojo / runner / switches.cc
blob2855d3cae87b409ea80d2e6ead7cd4e91f8d73e3
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.
5 #include "mojo/runner/switches.h"
7 #include "base/basictypes.h"
9 namespace switches {
11 // Used internally by the main process to indicate that a new process should be
12 // a child process. Takes the absolute path to the mojo application to load as
13 // an argument. Not for user use.
14 const char kChildProcess[] = "child-process";
16 // Comma separated list like:
17 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo
18 const char kContentHandlers[] = "content-handlers";
20 // Used internally to delete a loaded application after we load it. Used for
21 // transient applications. Not for user use.
22 const char kDeleteAfterLoad[] = "delete-after-load";
24 // Force dynamically loaded apps or services to be loaded irrespective of cache
25 // instructions.
26 const char kDisableCache[] = "disable-cache";
28 // Enables the sandbox on this process.
29 const char kEnableSandbox[] = "enable-sandbox";
31 // In multiprocess mode, force these apps to be loaded in the main process.
32 // This is a comma-separated list of URLs. Example:
33 // --force-in-process=mojo:native_viewport_service,mojo:network_service
34 const char kForceInProcess[] = "force-in-process";
36 // Print the usage message and exit.
37 const char kHelp[] = "help";
39 // Specify origin to map to base url. See url_resolver.cc for details.
40 // Can be used multiple times.
41 const char kMapOrigin[] = "map-origin";
43 // Starts tracing when the shell starts up, saving a trace file on disk after 5
44 // seconds or when the shell exits.
45 const char kTraceStartup[] = "trace-startup";
47 // Specifies a set of mappings to apply when resolving URLs. The value is a set
48 // of comma-separated mappings, where each mapping consists of a pair of URLs
49 // giving the to/from URLs to map. For example, 'a=b,c=d' contains two mappings,
50 // the first maps 'a' to 'b' and the second 'c' to 'd'.
51 const char kURLMappings[] = "url-mappings";
53 // When this is set, we create a temporary user data dir for the process, and
54 // add a flag so kUserDataDir points to it.
55 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir";
57 // Specifies the user data directory. This is the one directory which stores
58 // all persistent data.
59 const char kUserDataDir[] = "user-data-dir";
61 } // namespace switches