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

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

Issue 423963004: First cut at "content handling" support in Mojo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more gn Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « mojo/shell/switches.h ('k') | mojo/shell/ui_service_loader_android.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/shell/switches.h" 5 #include "mojo/shell/switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Used to specify the type of child process (switch values from 9 // Used to specify the type of child process (switch values from
10 // |ChildProcess::Type|). 10 // |ChildProcess::Type|).
11 const char kChildProcessType[] = "child-process-type"; 11 const char kChildProcessType[] = "child-process-type";
12 12
13 // Comma separated list like:
14 // text/html,mojo://mojo_html_viewer,application/bravo,https://abarth.com/bravo
15 const char kContentHandlers[] = "content-handlers";
16
13 // Force dynamically loaded apps / services to be loaded irrespective of cache 17 // Force dynamically loaded apps / services to be loaded irrespective of cache
14 // instructions. 18 // instructions.
15 const char kDisableCache[] = "disable-cache"; 19 const char kDisableCache[] = "disable-cache";
16 20
17 // Load apps in separate processes. 21 // Load apps in separate processes.
18 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe 22 // TODO(vtl): Work in progress; doesn't work. Flip this to "disable" (or maybe
19 // change it to "single-process") when it works. 23 // change it to "single-process") when it works.
20 const char kEnableMultiprocess[] = "enable-multiprocess"; 24 const char kEnableMultiprocess[] = "enable-multiprocess";
21 25
22 // Map mojo: URLs to a shared library of similar name at this origin. See 26 // Map mojo: URLs to a shared library of similar name at this origin. See
23 // mojo_url_resolver.cc for details. 27 // mojo_url_resolver.cc for details.
24 const char kOrigin[] = "origin"; 28 const char kOrigin[] = "origin";
25 29
26 // Enables the mojo spy, which acts as a man-in-the-middle inspector for 30 // Enables the mojo spy, which acts as a man-in-the-middle inspector for
27 // message pipes and other activities. This is work in progress. 31 // message pipes and other activities. This is work in progress.
28 const char kSpy[] = "spy"; 32 const char kSpy[] = "spy";
29 33
30 } // namespace switches 34 } // namespace switches
OLDNEW
« no previous file with comments | « mojo/shell/switches.h ('k') | mojo/shell/ui_service_loader_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698