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

Side by Side Diff: mojo/shell/standalone/switches.cc

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

Powered by Google App Engine
This is Rietveld 408576698