Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Side by Side Diff: mojo/runner/switches.cc

Issue 1342503003: Move fetching logic out of ApplicationManager, eliminate url mappings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/runner/switches.h ('k') | mojo/runner/url_resolver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/runner/switches.h" 5 #include "mojo/runner/switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Used internally by the main process to indicate that a new process should be 9 // Used internally by the main process to indicate that a new process should be
10 // a child process. Takes the absolute path to the mojo application to load as 10 // a child process. Takes the absolute path to the mojo application to load as
11 // an argument. Not for user use. 11 // an argument. Not for user use.
12 const char kChildProcess[] = "child-process"; 12 const char kChildProcess[] = "child-process";
13 13
14 // Comma separated list like: 14 // Comma separated list like:
15 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo 15 // text/html,mojo:html_viewer,application/bravo,https://abarth.com/bravo
16 const char kContentHandlers[] = "content-handlers"; 16 const char kContentHandlers[] = "content-handlers";
17 17
18 // Used internally to delete a loaded application after we load it. Used for 18 // Used internally to delete a loaded application after we load it. Used for
19 // transient applications. Not for user use. 19 // transient applications. Not for user use.
20 const char kDeleteAfterLoad[] = "delete-after-load"; 20 const char kDeleteAfterLoad[] = "delete-after-load";
21 21
22 // Force dynamically loaded apps or services to be loaded irrespective of cache
23 // instructions.
24 const char kDisableCache[] = "disable-cache";
25
26 // Enables the sandbox on this process. 22 // Enables the sandbox on this process.
27 const char kEnableSandbox[] = "enable-sandbox"; 23 const char kEnableSandbox[] = "enable-sandbox";
28 24
29 // In multiprocess mode, force these apps to be loaded in the main process. 25 // In multiprocess mode, force these apps to be loaded in the main process.
30 // This is a comma-separated list of URLs. Example: 26 // This is a comma-separated list of URLs. Example:
31 // --force-in-process=mojo:native_viewport_service,mojo:network_service 27 // --force-in-process=mojo:native_viewport_service,mojo:network_service
32 const char kForceInProcess[] = "force-in-process"; 28 const char kForceInProcess[] = "force-in-process";
33 29
34 // Print the usage message and exit. 30 // Print the usage message and exit.
35 const char kHelp[] = "help"; 31 const char kHelp[] = "help";
(...skipping 10 matching lines...) Expand all
46 42
47 // When this is set, we create a temporary user data dir for the process, and 43 // When this is set, we create a temporary user data dir for the process, and
48 // add a flag so kUserDataDir points to it. 44 // add a flag so kUserDataDir points to it.
49 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir"; 45 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir";
50 46
51 // Specifies the user data directory. This is the one directory which stores 47 // Specifies the user data directory. This is the one directory which stores
52 // all persistent data. 48 // all persistent data.
53 const char kUserDataDir[] = "user-data-dir"; 49 const char kUserDataDir[] = "user-data-dir";
54 50
55 } // namespace switches 51 } // namespace switches
OLDNEW
« no previous file with comments | « mojo/runner/switches.h ('k') | mojo/runner/url_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698