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

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

Issue 1343823002: Revert of 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
22 // Enables the sandbox on this process. 26 // Enables the sandbox on this process.
23 const char kEnableSandbox[] = "enable-sandbox"; 27 const char kEnableSandbox[] = "enable-sandbox";
24 28
25 // In multiprocess mode, force these apps to be loaded in the main process. 29 // In multiprocess mode, force these apps to be loaded in the main process.
26 // This is a comma-separated list of URLs. Example: 30 // This is a comma-separated list of URLs. Example:
27 // --force-in-process=mojo:native_viewport_service,mojo:network_service 31 // --force-in-process=mojo:native_viewport_service,mojo:network_service
28 const char kForceInProcess[] = "force-in-process"; 32 const char kForceInProcess[] = "force-in-process";
29 33
30 // Print the usage message and exit. 34 // Print the usage message and exit.
31 const char kHelp[] = "help"; 35 const char kHelp[] = "help";
(...skipping 10 matching lines...) Expand all
42 46
43 // When this is set, we create a temporary user data dir for the process, and 47 // When this is set, we create a temporary user data dir for the process, and
44 // add a flag so kUserDataDir points to it. 48 // add a flag so kUserDataDir points to it.
45 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir"; 49 const char kUseTemporaryUserDataDir[] = "use-temporary-user-data-dir";
46 50
47 // Specifies the user data directory. This is the one directory which stores 51 // Specifies the user data directory. This is the one directory which stores
48 // all persistent data. 52 // all persistent data.
49 const char kUserDataDir[] = "user-data-dir"; 53 const char kUserDataDir[] = "user-data-dir";
50 54
51 } // namespace switches 55 } // 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