[Android] Merge the remaining _staging.xml resources
[chromium-blink-merge.git] / mojo / runner / switches.cc
blob1ed957ec293d8c21321db76a865f09ccdc0cd32e
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 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";
15 // Used internally by the main process to indicate that a new process should be
16 // a child process. Not for user use.
17 const char kChildProcess[] = "child-process";
19 // Comma separated list like:
20 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo
21 const char kContentHandlers[] = "content-handlers";
23 // Force dynamically loaded apps / services to be loaded irrespective of cache
24 // instructions.
25 const char kDisableCache[] = "disable-cache";
27 // In multiprocess mode, force these apps to be loaded in the main process.
28 // Comma-separate list of URLs. Example:
29 // --force-in-process=mojo:native_viewport_service,mojo:network_service
30 const char kForceInProcess[] = "force-in-process";
32 // Print the usage message and exit.
33 const char kHelp[] = "help";
35 // Specify origin to map to base url. See url_resolver.cc for details.
36 // Can be used multiple times.
37 const char kMapOrigin[] = "map-origin";
39 // Map mojo: URLs to a shared library of similar name at this origin. See
40 // url_resolver.cc for details.
41 const char kOrigin[] = "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 ',' separated mappings, where each mapping consists of a pair of urls
49 // giving the to/from url 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 } // namespace switches